-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (42 loc) · 1.38 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
#!/usr/bin/env python3
# coding=utf-8
'''
python distribute file
'''
# from __future__ import (absolute_import, division, print_function,
# unicode_literals, with_statement)
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_central',
version='1.4.1',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'': ['*.sql']},
install_requires=requirements_file_to_list(),
py_modules=['main'],
entry_points={
'console_scripts': [
'archsdn_central = archsdn_central:main',
]
},
test_suite="tests",
author='Carlos Miguel Ferreira',
author_email='[email protected]',
maintainer='Carlos Miguel Ferreira',
maintainer_email='[email protected]',
description='Minimal centralized manager for OpenFlow enabled networks',
long_description=open('README.md').read(),
keywords='SDN OpenFlow Management',
license='GPLv3',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.6',
]
)