-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (39 loc) · 1.23 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
#!/usr/bin/env python3
# coding=utf-8
"""
python distribute file
"""
from setuptools import setup, find_packages
def requirements_file_to_list(fn='requirements.txt'):
"""
read a requirements file and create a list that can be used in setup.
"""
with open(fn, 'r') as f:
return [x.rstrip() for x in list(f) if x and not x.startswith('#')]
setup(
name='archsdn_controller',
version='1.0.1',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['*.sql', '*.conf']},
install_requires=requirements_file_to_list(),
entry_points={
'console_scripts': [
'archsdn_controller = archsdn:start_controller',
]
},
test_suite="tests",
author='Carlos Miguel Ferreira',
author_email='[email protected]',
maintainer='Carlos Miguel Ferreira',
maintainer_email='[email protected]',
description='SDN controller for OpenFlow enabled networks',
long_description=open('README.md').read(),
keywords='SDN OpenFlow Management',
license='GPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.6',
]
)