-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
103 lines (95 loc) · 3.76 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
__author__ = 'ameadows, coty'
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import etltest
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import tox
errcode = tox.cmdline(self.test_args)
sys.exit(errcode)
setup(
name='etlTest',
version=etltest.__version__,
url='https://github.com/OpenDataAlex/etlTest',
license='GNU GENERAL PUBLIC LICENSE Version 3',
description='Automated and tool agnostic data integration testing tool.',
author='Alex Meadows, Coty Sutherland',
author_email='[email protected]',
packages=find_packages(),
install_requires=[
'appdirs==1.4.0',
'configparser==3.5.0b1',
'docutils==0.12',
'ecdsa==0.11',
'Jinja2==2.7.3',
'MarkupSafe==0.23',
'paramiko==1.14.1',
'Pygments==1.6',
'PyYAML==3.11',
'Sphinx==1.2.3',
'SQLAlchemy==0.9.7',
'py==1.4.24',
'tox==1.7.2'
],
tests_require=[
'PyMySQL==0.6.2',
],
classifiers=[
'Programming Language :: Python',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Environment :: Console',
'Intended Audience :: Developers'
],
cmdclass={'tox': Tox},
keywords='etl data_integration testing automation',
test_suite='etltest.test',
entry_points={
'console_scripts': [
'etlTest = etltest.etlTest:main',
'etltest = etltest.etlTest:main',
]
},
package_data={
'etlTest': ['.etltest-settings.yml'],
},
data_files=[
('', [
'.etltest-settings.yml',
'CONTRIBUTING.md',
'LICENSE',
'README.md'
]),
('etltest/samples/data/etlUnitTest', ['etltest/samples/data/etlUnitTest/users.yml']),
('etltest/samples/etl', ['etltest/samples/etl/shared.xml']),
('etltest/samples/etl/data_mart', [
'etltest/samples/etl/data_mart/user_dim_jb.kjb',
'etltest/samples/etl/data_mart/user_dim_load_tr.ktr'
]),
('etltest/samples/output/DataMart', ['etltest/samples/output/DataMart/UsersDim.py']),
('etltest/samples/output/main', [
'etltest/samples/output/main/help_arg.txt',
'etltest/samples/output/main/in_dir_generation.txt',
'etltest/samples/output/main/in_file_generation.txt',
'etltest/samples/output/main/no_args.txt'
]),
('etltest/samples/test/dataMart', ['etltest/samples/test/dataMart/users_dim.yml']),
('etltest/templates/output', [
'etltest/templates/output/fixture.jinja2',
'etltest/templates/output/process.jinja2',
'etltest/templates/output/table.jinja2'
]),
('etltest/templates/settings', [
'etltest/templates/settings/connections.cfg',
'etltest/templates/settings/copy.test',
'etltest/templates/settings/properties.cfg',
'etltest/templates/settings/tools.yml'
]),
],
)