-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
63 lines (51 loc) · 2.11 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, here)
from atlasclient import __version__ as version
with open(os.path.join(here, 'README.rst')) as readme_file:
readme = readme_file.read()
with open(os.path.join(here, 'HISTORY.rst')) as history_file:
history = history_file.read()
requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt')
test_requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'test_requirements.txt')
setup_requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'setup_requirements.txt')
with open(requirements_path) as requirements_file:
requirements = requirements_file.readlines()
with open(test_requirements_path) as test_requirements_file:
test_requirements = test_requirements_file.readlines()
with open(setup_requirements_path) as setup_requirements_file:
setup_requirements = setup_requirements_file.readlines()
setup_args = dict(
name='atlasclient',
version=version,
description="Apache Atlas client",
long_description=readme + '\n\n' + history,
author="Jean-Baptiste Poullet",
author_email='[email protected]',
url='https://github.com/jpoullet2000/atlasclient',
packages=find_packages(include=['atlasclient']),
include_package_data=True,
install_requires=requirements,
license='Apache Software License 2.0',
zip_safe=False,
keywords='atlasclient',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
tests_require=test_requirements,
)
setup(**setup_args)