diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..da34600f2 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +.PHONY: install +install: + pip install -e . + +.PHONY: test +test: + python setup.py test + diff --git a/alibi/__init__.py b/alibi/__init__.py new file mode 100644 index 000000000..446d9fd1b --- /dev/null +++ b/alibi/__init__.py @@ -0,0 +1,2 @@ +__version__ = '0.0.1' + diff --git a/alibi/explainers/__init__.py b/alibi/explainers/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/alibi/outlier/__init__.py b/alibi/outlier/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 000000000..6c6ef3681 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,8 @@ +[aliases] +test=pytest + +[tool:pytest] +addopts = + --tb native + -W ignore + --cov=alibi diff --git a/setup.py b/setup.py new file mode 100644 index 000000000..82bd5bf20 --- /dev/null +++ b/setup.py @@ -0,0 +1,29 @@ +from setuptools import find_packages, setup +from alibi import __version__ + + +def readme(): + with open('README.md') as f: + return f.read() + + +setup(name='alibi', + author='Seldon Technologies Ltd.', + author_email='hello@seldon.io', + version=__version__, + description='Algorithms for monitoring and explaining machine learning models', + long_description=readme(), + url='https://github.com/SeldonIO/alibi', + license='Apache 2.0', + packages=find_packages(), + include_package_data=True, + setup_requires=[ + 'pytest-runner' + ], + install_requires=[], + tests_require=[ + 'pytest', + 'pytest-cov' + ], + test_suite='tests', + zip_safe=False) diff --git a/tests/.keep b/tests/.keep new file mode 100644 index 000000000..e69de29bb