This repository was archived by the owner on May 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·51 lines (45 loc) · 1.45 KB
/
setup.py
File metadata and controls
executable file
·51 lines (45 loc) · 1.45 KB
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
""" Copyright (c) Trainline Limited, 2017. All rights reserved. See LICENSE.txt in the project root for license information. """
import sys
from setuptools import find_packages, setup
from codecs import open
from os.path import abspath, dirname, join
from emcli import __version__
this_dir = abspath(dirname(__file__))
with open(join(this_dir, 'README.rst'), encoding='utf-8') as file:
long_description = file.read()
needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
setup(
name = 'envmgr-cli',
version = __version__,
description = 'Environment Manager CLI tool.',
long_description = long_description,
url = 'https://github.com/trainline/envmgr-cli',
author = 'Trainline Platform Development',
author_email = 'platform.development@thetrainline.com',
license = 'Apache 2.0',
packages = find_packages(exclude=['tests*']),
install_requires = [
'docopt~=0.6.2',
'simplejson~=3.11.1',
'tabulate~=0.7.7',
'future~=0.16.0',
'semver~=2.7.7',
'appdirs~=1.4.3',
'progressbar2~=3.30.2',
'envmgr-lib==0.3.0'
],
setup_requires = pytest_runner,
tests_require = [
'pytest~=3.0',
'mock~=2.0.0',
'nose~=1.3.7',
'parameterized~=0.6.1',
'responses~=0.5.1'
],
entry_points = {
'console_scripts': [
'envmgr=emcli.__main__:main',
],
},
)