-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
67 lines (56 loc) · 2.04 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
# This file is part of the Data Cleaning Library (openclean).
#
# Copyright (C) 2018-2021 New York University.
#
# openclean is released under the Revised BSD License. See file LICENSE for
# full license details.
"""Required packages for install, test, docs, and tests."""
from setuptools import setup, find_packages
install_requires = [
'openclean-core==0.4.1'
]
docker_requires = ['docker']
geo_requires = ['openclean-geo==0.1.0']
metanome_requires = ['openclean-metanome==0.2.0']
notebook_requires = ['openclean-notebook==0.1.7']
pattern_requires = ['openclean-pattern==0.0.1']
openclean_extension = geo_requires + metanome_requires + notebook_requires + pattern_requires
extras_require = {
'demo': openclean_extension + ['jupyter', 'humanfriendly', 'ethiopian_date', 'seaborn'],
'docker': docker_requires,
'jupyter': ['jupyter'],
'geo': geo_requires,
'metanome': metanome_requires,
'notebook': notebook_requires,
'pattern': pattern_requires,
'full': docker_requires + openclean_extension
}
# Get long project description text from the README.rst file
with open('README.rst', 'rt') as f:
readme = f.read()
setup(
name='openclean',
version='0.2.1',
description='Library for data cleaning and data profiling',
long_description=readme,
long_description_content_type='text/x-rst',
keywords='data cleaning, data profiling',
url='https://github.com/VIDA-NYU/openclean',
author='New York University',
author_email='[email protected]',
license='New BSD',
license_file='LICENSE',
packages=find_packages(exclude=('tests',)),
include_package_data=True,
extras_require=extras_require,
install_requires=install_requires,
classifiers=[
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python'
]
)