mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Add setup.py
This commit is contained in:
parent
67c48f758f
commit
114738ca72
|
@ -13,7 +13,7 @@ Django REST framework aims to make it easy to build well-connected, self-describ
|
||||||
|
|
||||||
Features:
|
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/>`_.
|
* 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.
|
* 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.
|
* Pluggable :mod:`.emitters`, :mod:`parsers`, :mod:`validators` and :mod:`authenticators` - Easy to customise.
|
||||||
|
|
28
setup.py
Normal file
28
setup.py
Normal 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',
|
||||||
|
]
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user