-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (36 loc) · 1.17 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
import os
from setuptools import setup, find_packages
script_dir = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(script_dir, "README.md"), 'r') as f:
long_description = f.read()
# https://stackoverflow.com/a/50368460/2646069
with open(os.path.join(script_dir, 'requirements.txt'), 'r') as f:
install_reqs = [
s for s in [
line.split('#', 1)[0].strip(' \t\n') for line in f
] if s != ''
]
setup(
name='pilot',
version='0.0.1',
description='BGP flowspec based SDN controller at home',
long_description=long_description,
long_description_content_type="text/markdown",
author='James Swineson',
author_email='[email protected]',
url="https://github.com/Jamesits/Pilot",
packages=find_packages(),
install_requires=install_reqs,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': [
'pilot_server=pilot.__main__:main'
]
},
python_requires='>=3.7',
include_package_data=True,
)