forked from fullstackenviormentss/client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (54 loc) · 1.85 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
from setuptools import setup, find_packages
import sys
import pip
import os
with open(os.path.join(os.path.dirname(__file__), '__init__.py')) as version_file:
exec(version_file.read())
if sys.version_info < (3, 6, 3):
sys.exit("Sorry, you need Python 3.6.3+")
pip_version = int(pip.__version__.replace(".", ""))
if pip_version < 901:
sys.exit("Sorry, you need pip 9.0.1+")
setup(
name='opa_client',
version=__version__,
install_requires=[
'coverage>=4.5.1',
'flake8>=3.3.0',
'wheel>=0.30.0',
'magen_rest_service>=1.3a',
'docker>=3.1',
'pip>=9.0',
],
# package_dir={'': '..'},
packages=find_packages(exclude=['tests*']),
include_package_data=True,
package_data={
# If any package contains *.txt or *.rst files, include them:
'': ['*.txt', '*.rst']
},
test_suite='tests',
url='',
license='Apache Software License',
author='Reinaldo Penno',
author_email='[email protected]',
description='Python3 Open Policy Agent client',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 2 - Pre-Alpha',
# Indicate who your project is intended for
'Intended Audience :: Education',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Healthcare Industry',
'Intended Audience :: Legal Industry',
'Topic :: Security',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.6',
]
)