forked from ugurcan377/spynepi
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·55 lines (45 loc) · 1.36 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
#!/usr/bin/env python
import os
import re
from setuptools import setup
from setuptools import find_packages
PROJECT_NAME = 'spynepi'
v = open(os.path.join(os.path.dirname(__file__), PROJECT_NAME, '__init__.py'), 'r')
VERSION = re.match(r".*__version__ = '(.*?)'", v.read(), re.S).group(1)
LONG_DESC = ""
try:
os.stat('CHANGELOG.rst')
LONG_DESC = open('CHANGELOG.rst', 'r').read()
except OSError:
pass
setup(
name=PROJECT_NAME,
packages=find_packages(),
version=VERSION,
description="This is a caching PyPI implementation that uses Spyne",
long_description=LONG_DESC,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Operating System :: OS Independent',
'Natural Language :: English',
'Intended Audience :: Developers',
],
keywords=('pypi', 'spyne', 'wsgi', 'rpc', 'http'),
author='Ugurcan Ergun',
author_email='ugurcanergn@gmail.com',
url='http://github.com/arskom/spynepi',
license='GPL',
install_requires=[
"spyne>=2.10.1","sqlalchemy", "werkzeug", "twisted", 'docutils'
],
include_package_data=True,
package_data={
'spynepi.const.template': ['download.html'],
},
entry_points = {
'console_scripts': [
'%(p)s_daemon=%(p)s.main:main' % {'p': PROJECT_NAME},
]
},
)