-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·50 lines (42 loc) · 1.27 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
#!/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='[email protected]',
url='http://github.com/ugurcan377/spynepi',
license='GPL',
install_requires=[
"spyne>=2.9","sqlalchemy<0.8", "werkzeug", "twisted",
],
include_package_data=True,
entry_points = {
'console_scripts': [
'%(p)s_daemon=%(p)s.main:main' % {'p': PROJECT_NAME},
]
},
)