-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
61 lines (54 loc) · 1.68 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
import multiprocessing, logging # Fix atexit bug
from setuptools import setup, find_packages
def readme():
try:
return open('README.rst').read()
except:
pass
return ''
def version():
try:
import re
return re.search("^__version__ = '(.*)'",
open('pyconfig/__init__.py').read(), re.M).group(1)
except:
raise RuntimeError("Could not get version")
setup(
name='pyconfig',
version=version(),
description="Python-based singleton configuration",
long_description=readme(),
author="Jacob Alheid",
author_email="[email protected]",
url="http://github.com/shakefu/pyconfig",
packages=find_packages(exclude=['test']),
test_suite='nose.collector',
install_requires=[
'six',
'pytool',
],
tests_require=[
'nose',
'coverage',
'mock',
],
extras_require={
'etcd': ['python-etcd']
},
entry_points={
'console_scripts':[
'pyconfig = pyconfig.scripts:main',
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
)