This repository has been archived by the owner on Jan 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·71 lines (65 loc) · 1.75 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
# -*- coding: utf-8 -*-
import sys
import re
from setuptools import setup, find_packages
try:
with open('README.rst') as readme_file:
readme = readme_file.read()
except:
readme = ''
try:
from semantic_release import setup_hook
setup_hook(sys.argv)
except ImportError:
pass
with open('frigg_runner/__init__.py', 'r') as fd:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(),
re.MULTILINE
).group(1)
requirements = [
'click==4.1',
'invoke==0.10.1',
'frigg-settings>=1.0.1,<2.0.0',
'frigg-coverage>=1.1.0,<2.0.0',
]
test_requirements = [
'pytest==2.7.2',
'mock==1.3.0',
'coverage==3.7.1',
'six==1.9.0',
]
setup(
name='frigg-runner',
version=version,
description="Frigg runner execute .frigg.yml file localy.",
long_description=readme,
author="Eirik Martiniussen Sylliaas",
author_email='eirik@sylliaas.no',
maintainer='The frigg team',
maintainer_email='hi@frigg.io',
url='https://github.com/frigg/frigg-runner',
packages=find_packages(),
package_dir={'frigg-runner':
'frigg-runner'},
include_package_data=True,
entry_points={
"console_scripts": ['frigg = frigg_runner.cli:main']
},
install_requires=requirements,
license="MIT",
zip_safe=False,
keywords='frigg-runner',
classifiers=[
'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',
],
test_suite='tests',
tests_require=test_requirements
)