-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (40 loc) · 1.19 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
from setuptools import setup, find_packages
import os
import sys
import versioneer
# https://www.pydanny.com/python-dot-py-tricks.html
if sys.argv[-1] == 'test':
r = os.system('pytest test -v && '
'xenon -b A -m A -a A -e "csirtgsdk/_version*" csirtgsdk')
if r == 0:
raise SystemExit
raise RuntimeError('tests failed')
setup(
name="csirtgsdk",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="CSIRTG Python SDK",
long_description="CSIRTG Software Development Kit for Python",
url="https://github.com/csirtgadgets/csirtgsdk-v2-py",
license='MPL2',
classifiers=[
"Topic :: System :: Networking",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Programming Language :: Python"
],
keywords=['network', 'security'],
author="Wes Young",
author_email="[email protected]",
packages=find_packages(exclude=['test']),
install_requires=[
'requests',
'cachetools'
],
entry_points={
'console_scripts': [
"csirtg=csirtgsdk.cli:get",
'csirtg-create=csirtgsdk.cli:create'
]
},
)