forked from RSEmail/tina
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (30 loc) · 943 Bytes
/
setup.py
File metadata and controls
33 lines (30 loc) · 943 Bytes
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
import distribute_setup
import re
distribute_setup.use_setuptools()
from setuptools import setup
# Parse version from _version.py.
version_file = "tina/_version.py"
version_str = open("tina/_version.py", "rt").read()
version_regex = r"^__version__\s*=\s*['\"]([^'\"]*)['\"]"
match = re.search(version_regex, version_str, re.MULTILINE)
if match:
version = match.group(1)
else:
raise RuntimeError("Unable to find version string in '%s'" % version_file)
setup(
name='tina',
description='TINA Is Not Arif: A tool for tagging chef cookbooks and their dependencies.',
maintainer='RSEmail',
maintainer_email='tina-dev@mailtrust.com',
entry_points={
'console_scripts': [
'tina = tina.tina:main'
]
},
test_suite='tina.test',
version=version,
url='https://github.com/RSEmail/tina/',
packages=['tina'],
license='GNU General Public License, version 3 (GPL-3.0)',
long_description=open('README.md').read(),
)