forked from drivendataorg/deon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (55 loc) · 1.86 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
#!/usr/bin/env python
from pathlib import Path
import setuptools
from setuptools import setup
def load_reqs(path):
reqs = []
with open(path, 'r') as f:
for line in f.readlines():
if line.startswith('-r'):
reqs += load_reqs(line.split(' ')[1].strip())
else:
req = line.strip()
if req and not req.startswith('#'):
reqs.append(req)
return reqs
req_path = Path(__file__).parent / 'requirements.txt'
requirements = load_reqs(req_path)
long_description = open(Path(__file__).parent / 'README.md').read()
setup(
name='deon',
url='http://deon.drivendata.org',
project_urls={
'Homepage': 'http://deon.drivendata.org',
'Source Code': 'https://github.com/drivendataorg/deon',
'DrivenData': 'http://drivendata.co'
},
version='0.1.4',
author="DrivenData",
author_email="[email protected]",
include_package_data=True,
description='Deon adds an ethics checklist to your data science projects.',
long_description=long_description,
long_description_content_type='text/markdown',
license='MIT',
packages=setuptools.find_packages(),
keywords=['data science', 'ethics', 'checklist'],
python_requires='>=3.6',
install_requires=requirements,
entry_points={
'console_scripts': [
'deon=deon.cli:main',
]
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
)