-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
37 lines (30 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
from pip.req import parse_requirements
from setuptools import find_packages, setup
import glob
__VERSION__ = "0.5.35-dev"
install_reqs = parse_requirements("./requirements.txt", session=False)
reqs = [str(ir.req) for ir in install_reqs if not "github" in str(ir.link)]
data_files = []
directories = glob.glob('compose-files/')
for directory in directories:
files = glob.glob(directory+'*')
data_files.append(("tumbo_server/"+directory, files))
directories = glob.glob('k8s-files/cli/')
for directory in directories:
files = glob.glob(directory+'*')
data_files.append(("tumbo_server/"+directory, files))
setup(name='tumbo-server',
version=__VERSION__,
description='Highly flexible Application Runtime Platform',
long_description='Tumbo is a Server Platform for simplifying common development and deployment tasks. It conduce to go live quickly with an application - with less deployment- and configuration requirements.',
url="https://tumbo.io",
author="Philip Sahli",
author_email="[email protected]",
license ='MIT',
install_requires = reqs,
packages = find_packages(),
data_files = data_files,
include_package_data=True,
scripts=['cli/tumbo-cli.py'],
zip_safe=False
)