forked from alertlogic/alertlogic-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (34 loc) · 1 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
import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('alertlogic/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='alertlogic-cli',
version=version,
url='https://github.com/alertlogic/alertlogic-cli',
license='MIT',
author='Alert Logic Inc.',
author_email='[email protected]',
description='Command Line Client for Alertlogic Services.',
scripts=['alertlogic-cli'],
packages=find_packages(exclude=['contrib', 'docs', 'tests*', 'troubleshooting']),
include_package_data=True,
zip_safe=False,
platforms='any',
python_requires='>=2.7, <3',
install_requires=[
'requests>=2.18'
],
extras_require={
'dev': [
'pytest>=3',
'mock>=2.0.0',
'httpretty>=0.8.14',
'pycodestyle>=2.3.1'
],
},
keywords=['cli', 'alertlogic']
)