-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.74 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
# -*- coding: utf-8 -*-
try:
from setuptools import setup
extra = dict(test_suite="tests.test.suite")
except ImportError:
from distutils.core import setup
extra = {}
with open('README.rst') as readme:
long_description = readme.read()
with open('requirements.txt') as reqs:
install_requires = [
line for line in reqs.read().split('\n') if (line and not
line.startswith('--'))
]
def files(dirname):
from os import path, listdir
return [path.join(dirname, filename) for filename in listdir(dirname)]
setup(
name='python-odl',
version='0.0.4',
author='Beraldo Leal',
author_email='[email protected]',
packages=["odl", "of"],
include_package_data=True,
data_files=[('/var/lib/data/python-odl/templates', ['templates/drop.tpl', 'templates/l2output.tpl', 'templates/l3output.tpl', 'templates/complete.tpl'])],
url='http://github.com/of-ng/python-odl/',
license='LICENSE.md',
description='Python 2.x library for OpenDayLight interations via REST API.',
install_requires=install_requires,
scripts=files('bin'),
keywords = ['odl', 'opendayligh', 'sdn', 'openflow', 'python', 'library', 'rest', 'api'],
platforms = "Posix; MacOS X;",
classifiers = ["Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet",
"Topic :: System :: Networking",
"Programming Language :: Python :: 2.7"],
**extra
)