-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (64 loc) · 1.57 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 -*-
"""\
A Proxy / Caching application for Python Package Indexes.
"""
import os
import sys
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
name = 'pypiproxy'
version = '1.0a1'
install_requires = [
'setuptools',
'WebOb',
'httplib2',
]
test_requires = [
'wsgi_intercept',
]
if sys.version_info < (2, 7,):
test_requires.append('unittest2')
extras_require = {'test': test_requires}
description = __doc__
long_description = '\n\n'.join([
read('README.rst'),
read('docs', 'changes.rst'),
])
url = ''
entry_points = """\
"""
DEV_STATES = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
]
if version.find('a') >= 0:
state = 0
elif version.find('b') >= 0:
state = 1
else:
state = 2
development_status = DEV_STATES[state]
setup(
name=name,
version=version,
author="Michael Mulich",
author_email="[email protected]",
description=description,
long_description=long_description,
url=url,
classifiers=["Framework :: Plone",
"Programming Language :: Python",
"Intended Audience :: Developers",
development_status,
],
keywords='plone buildout',
license='GPL',
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True,
zip_safe=False,
entry_points=entry_points,
)