2011-02-19 21:41:23 +03:00
|
|
|
#!/usr/bin/env/python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2011-03-13 20:08:46 +03:00
|
|
|
from setuptools import setup
|
2011-02-19 21:41:23 +03:00
|
|
|
|
2011-06-02 15:17:21 +04:00
|
|
|
import os, re
|
|
|
|
|
|
|
|
path = os.path.join(os.path.dirname(__file__), 'djangorestframework', '__init__.py')
|
|
|
|
init_py = open(path).read()
|
|
|
|
VERSION = re.match("__version__ = '([^']+)'", init_py).group(1)
|
|
|
|
|
2011-02-19 21:41:23 +03:00
|
|
|
setup(
|
2011-06-02 15:17:21 +04:00
|
|
|
name = 'djangorestframework',
|
|
|
|
version = VERSION,
|
2011-06-02 15:52:23 +04:00
|
|
|
url = 'http://django-rest-framework.org',
|
|
|
|
download_url = 'http://pypi.python.org/pypi/djangorestframework/',
|
2011-02-19 21:41:23 +03:00
|
|
|
license = 'BSD',
|
2011-06-02 15:17:21 +04:00
|
|
|
description = 'A lightweight REST framework for Django.',
|
2011-02-19 21:41:23 +03:00
|
|
|
author = 'Tom Christie',
|
|
|
|
author_email = 'tom@tomchristie.com',
|
2011-02-19 22:00:05 +03:00
|
|
|
packages = ['djangorestframework',
|
|
|
|
'djangorestframework.templatetags',
|
2011-03-13 20:08:46 +03:00
|
|
|
'djangorestframework.tests',
|
2011-05-16 19:00:00 +04:00
|
|
|
'djangorestframework.runtests',
|
|
|
|
'djangorestframework.utils'],
|
2011-02-19 22:00:05 +03:00
|
|
|
package_dir={'djangorestframework': 'djangorestframework'},
|
|
|
|
package_data = {'djangorestframework': ['templates/*', 'static/*']},
|
2011-03-18 16:15:12 +03:00
|
|
|
test_suite = 'djangorestframework.runtests.runcoverage.main',
|
2011-02-19 21:41:23 +03:00
|
|
|
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',
|
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
]
|
2011-02-19 22:00:05 +03:00
|
|
|
)
|