This repository has been archived by the owner on Jul 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
60 lines (51 loc) · 1.7 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
import os.path as osp
from setuptools import setup, find_packages
setup_dir = osp.dirname(osp.abspath(__file__))
with open(osp.join(setup_dir, 'requirements')) as f:
requirements = []
dep_links = []
for line in f:
if not line.strip():
continue
req = line.split('\t')
requirements.append(req[0])
try:
dep_links.append(req[1])
except IndexError:
pass
with open(osp.join(setup_dir, 'README.rst')) as f:
long_description = f.read()
setup(
name="n6sdk",
version='0.6.2',
packages=find_packages(),
dependency_links=dep_links,
install_requires=requirements,
include_package_data=True,
entry_points={
'console_scripts': [
'n6sdk_api_test = n6sdk._api_test_tool.api_test_tool:main',
],
'pyramid.scaffold': [
'n6sdk = n6sdk.scaffolds:BasicN6SDKTemplate',
],
},
tests_require=(requirements + ['mock==1.0.1']),
test_suite="n6sdk.tests",
description='An *n6*-like REST API server framework.',
long_description=long_description,
url='https://github.com/CERT-Polska/n6sdk',
maintainer='CERT Polska',
maintainer_email='n6@cert.pl',
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Pyramid',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Application Frameworks',
],
keywords='n6 network incident exchange rest api library framework',
)