mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
38 lines
1.3 KiB
Python
38 lines
1.3 KiB
Python
#!/usr/bin/env/python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from setuptools 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',
|
|
'djangorestframework.templatetags',
|
|
'djangorestframework.tests',
|
|
'djangorestframework.runtests'],
|
|
package_dir={'djangorestframework': 'djangorestframework'},
|
|
package_data = {'djangorestframework': ['templates/*', 'static/*']},
|
|
test_suite = 'djangorestframework.runtests.runcoverage.main',
|
|
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',
|
|
]
|
|
)
|
|
|
|
import os, shutil
|
|
shutil.rmtree(os.path.join(os.path.dirname(__file__), 'djangorestframework.egg-info'), True)
|
|
|
|
|