forked from StepicOrg/django-rest-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (42 loc) · 1.46 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import os
from setuptools import setup
from rest_framework_swagger import VERSION
README = """
Django REST Swagger
An API documentation generator for Swagger UI and Django REST Framework version 2.3+
Installation
From pip:
pip install django-rest-swagger
Docs & details @
https://github.com/marcgibbons/django-rest-swagger
"""
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-rest-swagger',
version=VERSION,
packages=['rest_framework_swagger'],
package_data={'rest_framework_swagger': ['rest_framework_swagger/templates/rest_framework_swagger/*', 'rest_framework_swagger/static/rest_framework_swagger/*']},
include_package_data=True,
license='FreeBSD License',
description='Swagger UI for Django REST Framework 2.3+',
long_description=README,
install_requires=[
'django>=1.5',
'djangorestframework>=2.3.5',
'PyYAML>=3.10',
],
url='http://github.com/marcgibbons',
author='Marc Gibbons',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)