django-rest-framework/setup.py

38 lines
1.3 KiB
Python
Raw Normal View History

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
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',
2011-02-19 22:00:05 +03:00
packages = ['djangorestframework',
'djangorestframework.templatetags',
2011-03-13 20:08:46 +03:00
'djangorestframework.tests',
'djangorestframework.runtests'],
2011-02-19 22:00:05 +03:00
package_dir={'djangorestframework': 'djangorestframework'},
package_data = {'djangorestframework': ['templates/*', 'static/*']},
2011-03-13 20:08:46 +03:00
test_suite = 'djangorestframework.runtests.runtests.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
)
2011-03-13 20:08:46 +03:00
import os, shutil
shutil.rmtree(os.path.join(os.path.dirname(__file__), 'djangorestframework.egg-info'), True)