-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (61 loc) · 1.71 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
"""
Setup file
"""
# Define the things that need to be updated
name = 'binomialbias'
author = 'P.A. Robinson, C. C. Kerr'
email = '[email protected]'
desc = 'Quantitative assessment of discrimination based on the binomial distribution'
url = 'http://binomialbias.sciris.org'
keywords = ["binomial distribution", "discrimination", "bias", "sexism", "racism"]
requires = [
'numpy',
'scipy',
'matplotlib',
'sciris',
]
extras = {
'app': [
'shiny',
'rsconnect-python',
],
}
#%% Below here is boilerplate -- usually does not need to be updated
# Imports
import os
import runpy
from setuptools import setup, find_packages
# Get version
cwd = os.path.abspath(os.path.dirname(__file__))
versionpath = os.path.join(cwd, 'binomialbias', 'version.py')
version = runpy.run_path(versionpath)['__version__']
# Get the documentation
with open("README.md", "r") as fh:
long_description = fh.read()
CLASSIFIERS = [
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: Other/Proprietary License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 3.11',
]
setup(
name=name,
version=version,
author=author,
author_email=email,
description=desc,
keywords=keywords,
long_description=long_description,
long_description_content_type='text/markdown',
url=url,
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
packages=find_packages(),
include_package_data=True,
install_requires=requires,
extras_require=extras
)