forked from rpc4django/rpc4django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (59 loc) · 1.95 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
import os
try:
from setuptools import setup
except:
from distutils.core import setup
# setup.py should run from the directory where it is
package_dir = os.path.dirname(__file__)
if package_dir != '':
os.chdir(package_dir)
long_description = """========================
RPC4Django Documentation
========================
""" + open('docs/setup.txt').read()
setup(
name='rpc4django',
version='0.5.0',
description='Handles JSONRPC and XMLRPC requests easily with Django',
long_description=long_description,
author='David Fischer',
author_email='[email protected]',
url='https://github.com/rpc4django/rpc4django',
license='BSD',
platforms=['OS Independent'],
packages=[
'rpc4django',
'rpc4django.templatetags',
],
package_data={
'rpc4django': [
'templates/rpc4django/rpcmethod_summary.html',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=['Django>=1.8', 'defusedxml'],
extras_require={
"reST": ['docutils >= 0.4'],
},
# templates packaged into eggs cannot be loaded unless TEMPLATE_LOADER
# django.template.loaders.eggs.load_template_source
# is specifically enabled.
# By setting zip_safe=False, setuptools will unpack the egg
zip_safe=False,
test_suite='tests',
)