-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
41 lines (37 loc) · 1.2 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
import re
import ast
from codecs import open
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('jsonconfig/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='jsonconfig-tool',
python_requires='>=2.7',
version=version,
description='Configuration made easy: JSON, encrypted, envvars, etc.',
long_description=readme,
license='MIT',
author='Brian Peterson',
author_email='[email protected]',
keywords='config configuration json encryption passwords simple easy',
url='http://github.com/json-transformations/jsonconfig',
packages=['jsonconfig'],
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
install_requires=[
'click>=6.7',
'python-box>=3.1.1',
'keyring>=12.0.1',
],
)