-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (41 loc) · 1.22 KB
/
setup.py
File metadata and controls
49 lines (41 loc) · 1.22 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
45
46
47
48
#!/usr/bin/env python
import ast
import os
import re
import sys
from pyArchery import __version__ as version
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r') as f:
readme = f.read()
# Publish helper
if sys.argv[-1] == 'build':
os.system('python setup.py sdist bdist_wheel')
sys.exit(0)
if sys.argv[-1] == 'install':
os.system('python setup.py sdist --formats=zip')
sys.exit(0)
setup(
name='pyArchery',
packages=['pyArchery'],
version=version,
description='Python library enumerating the Archery tool RESTFul API endpoints.',
long_description=readme,
author='Anand Tiwari',
author_email='anandtiwarics@gmail.com',
url='https://github.com/archerysec/',
license='MIT License',
zip_safe=True,
install_requires=['requests'],
keywords=['pyArchery', 'api', 'security', 'software', 'ArcherySec'],
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
]
)