-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
74 lines (63 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import find_packages, setup
with open('DESCRIPTION.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
exec(open('tosker/__init__.py').read())
requirements = [
'docker', 'tosca-parser', 'termcolor', 'six', 'enum34',
'tabulate', 'tinydb', 'scandir', 'halo', 'click'
]
# put setup requirements (distutils extensions, etc.) here
setup_requirements = []
# put package test requirements here
test_requirements = []
# put package dev requirements here
dev_requirements = ['coverage', 'check-manifest', 'wheel', 'flake8', 'tox',
'Sphinx', 'isort']
setup(
name='TosKer',
version=__version__,
description='A TOSCA engine working with Docker container',
long_description=readme + '\n\n' + history,
author="lucarin91",
author_email='[email protected]',
url='https://github.com/di-unipi-socc/TosKer',
packages=find_packages(exclude=['tests']),
entry_points={
'console_scripts': [
'tosker=tosker.click_ui:cli'
]
},
include_package_data=True,
data_files=[
('/usr/share/tosker', ['data/tosker-types.yaml']),
('/usr/share/tosker/examples',
['data/examples/thinking-app/thinking.csar',
'data/examples/node-mongo-csar/node-mongo.csar',
'data/examples/sockshop-app/sockshop.csar'])
],
install_requires=requirements,
license="MIT license",
zip_safe=False,
keywords='docker TOSCA deployment management development',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
test_suite='tests',
extras_require={'dev': dev_requirements},
tests_require=test_requirements,
setup_requires=setup_requirements
)