-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
53 lines (46 loc) · 1.49 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
import codecs
import os
import re
from setuptools import find_packages, setup
def get_version(filename):
with codecs.open(filename, 'r', 'utf-8') as fp:
contents = fp.read()
return re.search(r"__version__ = ['\"]([^'\"]+)['\"]", contents).group(1)
version = get_version(os.path.join('treehugger', '__init__.py'))
with open('README.rst') as f:
long_description = f.read()
setup(
name='treehugger',
version=version,
description='Securely manage runtime configuration',
long_description=long_description,
author='Adam Johnson, Niklas Lindblad',
author_email='[email protected]',
url='https://github.com/timeoutdigital/treehugger',
download_url = 'https://github.com/timeoutdigital/treehugger/archive/3.0.0.tar.gz',
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
install_requires=[
'boto3',
'PyYAML',
'requests',
],
python_requires='>=3.4',
license='ISC License',
zip_safe=False,
entry_points={
'console_scripts': [
'treehugger = treehugger.__main__:main'
]
},
keywords='',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Natural Language :: English',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)