-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·37 lines (33 loc) · 1.08 KB
/
setup.py
File metadata and controls
executable file
·37 lines (33 loc) · 1.08 KB
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
#!/usr/bin/env python
import os
import sys
from dynamicresponse import __version__
from setuptools import setup
def publish():
"""Publish to Pypi"""
os.system("python setup.py sdist upload")
if sys.argv[-1] == "publish":
publish()
sys.exit()
setup(
name='django-dynamicresponse',
version=__version__,
description='Lightweight framework for easily providing REST APIs for web apps built with Django.',
long_description=open('README.md').read(),
author='Funkbit',
author_email='post@funkbit.no',
url='https://github.com/funkbit/django-dynamicresponse',
packages=['dynamicresponse', 'dynamicresponse.middleware'],
tests_require=['django>=1.1,<1.4'],
test_suite='examples.myblog.blog.runtests.runtests',
license='BSD',
classifiers=(
"Development Status :: 4 - Beta",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
)
)