-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·44 lines (41 loc) · 1.28 KB
/
setup.py
File metadata and controls
executable file
·44 lines (41 loc) · 1.28 KB
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
#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import re
if sys.version_info[0] == 2:
from io import open
with open('./README.rst', mode='r', encoding='utf-8') as f:
readme = f.read()
with open('esp/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='esp',
version=version,
description='Evident Security Platform (ESP) SDK for Python',
long_description=readme,
author='Kyle Terry',
author_email='kyle@evident.io',
packages=find_packages(),
package_data={'esp': ['packages/requests/*.pem']},
py_modules=['esp'],
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
),
install_requires=[
'requests',
'six',
'coverage',
'mock',
'nose',
'unittest2',
],
)