Add setup.py

This commit is contained in:
tom christie tom@tomchristie.com 2011-02-19 18:41:23 +00:00
parent 67c48f758f
commit 114738ca72
2 changed files with 29 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Django REST framework aims to make it easy to build well-connected, self-describ
Features:
* Automatically provides a Django Admin style `browse-able self-documenting API <http://api.django-rest-framework.org>`_.
* Automatically provides a Django admin style `browse-able self-documenting API <http://api.django-rest-framework.org>`_.
* Clean, simple, views for Resources, using Django's new `class based views <http://docs.djangoproject.com/en/dev/topics/class-based-views/>`_.
* Support for ModelResources with out-of-the-box default implementations and input validation.
* Pluggable :mod:`.emitters`, :mod:`parsers`, :mod:`validators` and :mod:`authenticators` - Easy to customise.

28
setup.py Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env/python
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name = "djangorestframework",
version = "0.1",
url = 'https://bitbucket.org/tomchristie/django-rest-framework/wiki/Home',
download_url = 'https://bitbucket.org/tomchristie/django-rest-framework/downloads',
license = 'BSD',
description = "A lightweight REST framework for Django.",
author = 'Tom Christie',
author_email = 'tom@tomchristie.com',
packages = ['djangorestframework'],
include_package_data = True,
zip_safe = False,
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',
]
)