forked from Workiva/dqc_us_rules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (40 loc) · 1.21 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
readme = open('README.md').read()
def get_version():
import imp
source_dir = 'dqc_us_rules'
with open('{}/_pkg_meta.py'.format(source_dir), 'rb') as fp:
mod = imp.load_source('_pkg_meta', source_dir, fp)
return mod.version
setup_args = dict(
name='dqc_us_rules',
version=get_version(),
description="""""".strip(),
long_description=readme,
maintainer='Data Quality Committee',
maintainer_email='[email protected]',
url='https://github.com/DataQualityCommittee/dqc_us_rules',
packages=find_packages(),
include_package_data=True,
zip_safe=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: Other/Proprietary License',
'Natural Language :: English',
'Programming Language :: Python :: 3.4',
"Topic :: Office/Business :: Financial :: Accounting"
],
test_suite='test',
install_requires=[],
tests_require=[
"lxml==2.3.5",
"nose==1.3.4",
"mock==1.0.1",
"arelle"
],
)
if __name__ == '__main__':
setup(**setup_args)