|
1
|
|
|
""" |
|
2
|
|
|
setup - ensures proper package setup |
|
3
|
|
|
|
|
4
|
|
|
This file is ensuring proper package setup is performed to ensure all prerequisites are satisfied |
|
5
|
|
|
and correct execution is possible |
|
6
|
|
|
""" |
|
7
|
|
|
# package to handle files/folders and related metadata/operations |
|
8
|
|
|
import os |
|
9
|
|
|
# facilitate dependencies management |
|
10
|
|
|
from setuptools import setup, find_packages |
|
11
|
|
|
|
|
12
|
|
|
with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as fh: |
|
13
|
|
|
long_description_readme = fh.read() |
|
14
|
|
|
|
|
15
|
|
|
this_package_website = 'https://github.com/danielgp/data-extractor' |
|
16
|
|
|
|
|
17
|
|
|
setup( |
|
18
|
|
|
author='Daniel Popiniuc', |
|
19
|
|
|
author_email='[email protected]', |
|
20
|
|
|
classifiers=[ |
|
21
|
|
|
'Development Status :: 5 - Production/Stable', |
|
22
|
|
|
'Environment :: Console', |
|
23
|
|
|
'Intended Audience :: Developers', |
|
24
|
|
|
'Intended Audience :: Information Technology', |
|
25
|
|
|
'Intended Audience :: System Administrators', |
|
26
|
|
|
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', |
|
27
|
|
|
'Natural Language :: English', |
|
28
|
|
|
'Programming Language :: Python :: 3.6', |
|
29
|
|
|
'Programming Language :: Python :: 3.7', |
|
30
|
|
|
'Programming Language :: Python :: 3.8', |
|
31
|
|
|
'Programming Language :: Python :: 3.9', |
|
32
|
|
|
'Programming Language :: SQL', |
|
33
|
|
|
'Topic :: Database :: Database Engines/Servers', |
|
34
|
|
|
'Topic :: Scientific/Engineering :: Information Analysis' |
|
35
|
|
|
], |
|
36
|
|
|
description='Extract information from databases to files, ' |
|
37
|
|
|
'multiple formats supported, from a various SQL based servers', |
|
38
|
|
|
include_package_data=True, |
|
39
|
|
|
install_requires=[ |
|
40
|
|
|
'Babel>=2.8,<3.0', |
|
41
|
|
|
'codetiming>=1.1,<2.0', |
|
42
|
|
|
'datedelta>=1.3,<2', |
|
43
|
|
|
'hdbcli>=2,<3', |
|
44
|
|
|
'mysql-connector-python>=8.0.11,<8.1', |
|
45
|
|
|
'pandas>=1,<2', |
|
46
|
|
|
'pyarrow>=1,<=4', |
|
47
|
|
|
'twine>3,<4', |
|
48
|
|
|
'xlrd>=1,<=2', |
|
49
|
|
|
'XlsxWriter>=1,<=2', |
|
50
|
|
|
'wheel>=0.34.2,<1' |
|
51
|
|
|
], |
|
52
|
|
|
keywords=[ |
|
53
|
|
|
'csv' |
|
54
|
|
|
], |
|
55
|
|
|
license='LGPL3', |
|
56
|
|
|
long_description=long_description_readme, |
|
57
|
|
|
long_description_content_type='text/markdown', |
|
58
|
|
|
name='db-extractor', |
|
59
|
|
|
packages=find_packages('db_extractor'), |
|
60
|
|
|
package_data={ |
|
61
|
|
|
'db_extractor': [ |
|
62
|
|
|
'*.json' |
|
63
|
|
|
] |
|
64
|
|
|
}, |
|
65
|
|
|
project_urls={ |
|
66
|
|
|
'Documentation': this_package_website + '/blob/master/README.md', |
|
67
|
|
|
'Issue Tracker': this_package_website + |
|
68
|
|
|
'/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc', |
|
69
|
|
|
'Source Code': this_package_website |
|
70
|
|
|
}, |
|
71
|
|
|
python_requires='>=3.6', |
|
72
|
|
|
url=this_package_website + '/releases', # project home page, if any |
|
73
|
|
|
version='1.1.8', |
|
74
|
|
|
) |
|
75
|
|
|
|