forked from algofairness/BlackBoxAuditing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
93 lines (72 loc) · 2.16 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/usr/bin/env python
from setuptools import setup, find_packages
from setuptools.command.develop import develop
from setuptools.command.install import install
from codecs import open
import os, sys
here = os.path.abspath(os.path.dirname(__file__))
if sys.version_info[0] == 3:
source_dir = '.'
else:
source_dir = 'python2_source'
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
NAME ='BlackBoxAuditing'
VERSION = '0.1.50'
DESCRIPTION = 'Sample Implementation of Gradient Feature Auditing (GFA)'
LONG_DESCRIPTION = long_description
URL = 'https://github.com/algofairness/BlackBoxAuditing'
AUTHOR ='Philip Adler, Casey Falk, Sorelle A. Friedler, Gabriel Rybeck, Carlos Scheidegger, Brandon Smith, Suresh Venkatasubramanian, Michael Feldman, John Moeller, Derek Roth, Charlie Marx'
AUTHOR_EMAIL='fairness@haverford.edu'
LICENSE='Apache 2.0'
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
]
KEYWORDS = 'algorithmic fairness'
PACKAGES = find_packages()
PACKAGE_DATA = {
'BlackBoxAuditing': ['*.sh','r_plotting/*.Rmd', 'repair_tests/*.csv', 'MATLAB_code/*'],
'BlackBoxAuditing.test_data': ['*.csv', '*.arff']
}
INCLUDE_PACKAGE_DATA = True
PACKAGE_DIR = {
'': source_dir,
}
INSTALL_REQUIRES = [
'networkx',
'matplotlib',
'Orange3>=3.3.5,<=3.7.1',
'pandas',
'numpy']
CMDCLASS = {
}
ENTRY_POINTS = {
'console_scripts': [
'BlackBoxAuditing-test = BlackBoxAuditing.test:test',
'BlackBoxAuditing-repair = BlackBoxAuditing.repair:main',
],
}
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
url=URL,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license=LICENSE,
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
packages=PACKAGES,
package_data=PACKAGE_DATA,
include_package_data=INCLUDE_PACKAGE_DATA,
package_dir = PACKAGE_DIR,
install_requires=INSTALL_REQUIRES,
cmdclass=CMDCLASS,
entry_points=ENTRY_POINTS
)