-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (44 loc) · 1.22 KB
/
setup.py
File metadata and controls
56 lines (44 loc) · 1.22 KB
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
import os
from setuptools import setup, find_packages
with open('VERSION', 'r') as f:
version = f.read().rstrip()
with open('requirements.txt', 'r') as f:
requirements = f.read().strip().split('\n')
install_requires = requirements
tests_require = [
'pytest',
'pytest-cov',
]
docs_require = [
'Sphinx',
]
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
try:
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except IOError:
CHANGES = ''
setup(
name='dstoolbox',
version=version,
description=(
'Tools that make working with scikit-learn and pandas easier.'),
long_description=README,
author='Otto Group',
author_email='benjamin.bossan@ottogroup.com',
packages=find_packages(),
include_package_data=True,
url='https://github.com/ottogroup/dstoolbox',
download_url='https://github.com/ottogroup/dstoolbox/tarball/' + version,
zip_safe=False,
install_requires=install_requires,
extras_require={
'testing': tests_require,
'docs': docs_require,
},
setup_requires=["setuptools_git >= 0.3"],
entry_points={},
)