-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create initial package skeleton (#2)
* New line in Makefile * Create initial package skeleton
- Loading branch information
Showing
7 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
__version__ = '0.0.1' | ||
|
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.