-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
60 lines (53 loc) · 1.87 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
#!/usr/bin/env python
# Copyright (c) 2015 Midokura SARL, All Rights Reserved.
#
# @author: Antonio Sagliocco <[email protected]>, Midokura
from setuptools import setup, find_packages
import os
SRC_DIR = "src"
MODULE_NAME = "midonet_sandbox"
__version__ = 1.1
def assets():
assets_path = \
os.path.join(os.path.dirname(__file__), SRC_DIR, MODULE_NAME, 'assets')
assets_list = list()
for root, dirs, files in os.walk(assets_path):
for file in files:
assets_list.append(os.path.join(root, file).replace(
"{}/{}/".format(SRC_DIR, MODULE_NAME), ""))
return assets_list
setup(
name=MODULE_NAME,
version=__version__,
description="Sandobox framework for Midonet",
url='https://github.com/midonet/midonet-sandbox',
package_dir={"": SRC_DIR},
packages=find_packages(SRC_DIR, exclude=["tests"]),
package_data={'': assets()},
install_requires=['docker-compose==1.8.1',
'dockerfile-parse==0.0.5',
'docopt==0.6.2',
'tabulate==0.7.5',
'humanize==0.5.1',
'PyYAML==3.11',
'injector==0.10.0'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
],
entry_points="""
[console_scripts]
sandbox-manage=midonet_sandbox.logic.cli:main
""",
)