-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
48 lines (42 loc) · 1.45 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
#!/home/user/sources/compiled/python3.4_dev/lib/python3.4
import os
import re
from setuptools import setup, find_packages
package_name = "pytos"
root_dir = os.path.abspath(os.path.dirname(__file__))
def get_version():
file_path = os.path.join(root_dir, 'pytos', '__init__.py')
with open(file_path, 'rt') as f:
version = re.search('__version__ = "(\d+\.\d+\.\d+)', f.read()).group(1)
return version
setup(
name=package_name,
version=get_version(),
author="Tufin Solution Engineering",
author_email="support@tufin.com",
url='http://pypi.python.org/pypi/pytos',
license="Apache License 2.0",
description="The Tufin TOS SDK for Python",
long_description=open('README.rst').read(),
packages=find_packages(exclude=['tests*']),
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
install_requires=[
'netaddr>=0.7.14',
'paramiko>=1.15.2',
'requests>=2.6.0',
'requests_toolbelt==0.7.1',
'netifaces==0.10.9',
'dnspython3==1.15.0',
'Mako',
]
)