Skip to content

Commit

Permalink
Create initial package skeleton (#2)
Browse files Browse the repository at this point in the history
* New line in Makefile

* Create initial package skeleton
  • Loading branch information
jklaise authored Feb 26, 2019
1 parent d5b02ee commit 4b47063
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.PHONY: install
install:
pip install -e .

.PHONY: test
test:
python setup.py test

2 changes: 2 additions & 0 deletions alibi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__version__ = '0.0.1'

Empty file added alibi/explainers/__init__.py
Empty file.
Empty file added alibi/outlier/__init__.py
Empty file.
8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[aliases]
test=pytest

[tool:pytest]
addopts =
--tb native
-W ignore
--cov=alibi
29 changes: 29 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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='[email protected]',
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)
Empty file added tests/.keep
Empty file.

0 comments on commit 4b47063

Please sign in to comment.