forked from bjarnoldus/django-roa
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
57 lines (54 loc) · 1.51 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup, find_packages
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
import sys
if sys.version_info<(3,3,0):
requires=[
'Django',
'requests',
'wsgiref',
'simplejson',
'djangorestframework',
'djangorestframework-xml',
'djangorestframework-yaml'
]
else:
requires=[
'Django',
'requests',
'simplejson',
'djangorestframework',
'djangorestframework-xml',
'djangorestframework-yaml'
]
setup(
name='django-roa',
version='2.0.13',
url='https://github.com/bjarnoldus/django-roa',
download_url='https://github.com/bjarnoldus/django-roa/archive/master.zip',
license='BSD',
description="Turn your models into remote resources that you can access through Django's ORM.",
author='Jeroen Arnoldus',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python3',
'Topic :: Internet :: WWW/HTTP',
],
install_requires=requires,
tests_require={
'Piston-tests': ['django-piston'],
}
)