forked from Trusted-AI/AIF360
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Trusted-AI#64 from IBM/version_tracking
added support for aif360.__version__
- Loading branch information
Showing
3 changed files
with
12 additions
and
3 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 |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
docs/build/ | ||
aif360/data/raw/** | ||
!aif360/data/raw/*/*.md | ||
aif360/version.py |
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,4 @@ | ||
try: | ||
from .version import version as __version__ | ||
except ImportError: | ||
pass |
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 |
---|---|---|
|
@@ -7,23 +7,27 @@ | |
We have developed the package with extensibility in mind. This library is still in development. We encourage the | ||
contribution of your datasets, metrics, explainers, and debiasing algorithms.""" | ||
|
||
version = '0.1.1' | ||
|
||
with open("aif360/version.py", 'w') as f: | ||
f.write('# generated by setup.py\nversion = "{}"\n'.format(version)) | ||
|
||
setup(name='aif360', | ||
version='0.1.1', | ||
version=version, | ||
description='IBM AI Fairness 360', | ||
author='aif360 developers', | ||
author_email='[email protected]', | ||
url='https://github.com/IBM/AIF360', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
license='Apache License 2.0', | ||
packages=find_packages(), | ||
packages=[pkg for pkg in find_packages() if pkg.startswith('aif360')], | ||
# python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.7', | ||
install_requires=[ | ||
'numpy>=1.14,<1.16', | ||
'scipy', | ||
'pandas==0.23.3', | ||
'scikit-learn', | ||
'numba', | ||
], | ||
package_data={'aif360': ['data/*', 'data/*/*', 'data/*/*/*']}, | ||
include_package_data=True, | ||
|