forked from signalfx/maestro-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (46 loc) · 1.61 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
#!/usr/bin/env python
# Copyright (C) 2013-2014 SignalFuse, Inc.
# Copyright (C) 2015-2018 SignalFx, Inc.
#
# Setuptools install description file.
from setuptools import setup, find_packages
with open('maestro/version.py') as f:
exec(f.read())
with open('requirements.txt') as f:
requirements = [line.strip() for line in f.readlines()]
try:
import pypandoc
# Convert the README to reStructuredText for PyPi
long_description = pypandoc.convert(source='README.md',
format='markdown',
to='rst')
except ImportError:
# No pandoc/pypandoc, just use raw
with open('README.md') as readme:
long_description = readme.read()
setup(
name=name, # flake8: noqa
version=version, # flake8: noqa
description='Orchestrator for multi-host Docker deployments',
long_description=long_description,
zip_safe=True,
packages=find_packages(),
install_requires=requirements,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
],
entry_points={
'console_scripts': ['maestro = maestro.__main__:main'],
'setuptools.installation': ['eggsecutable = maestro.__main__:main'],
},
author='Maxime Petazzoni',
author_email='[email protected]',
license='Apache Software License v2',
keywords='maestro docker orchestration deployment',
url='https://github.com/signalfx/maestro-ng',
)