This repository has been archived by the owner on Nov 27, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
executable file
·53 lines (46 loc) · 1.57 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
52
53
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from rest_framework_json_api import __version__
readme = open('README.rst').read()
doclink = """
Documentation
-------------
The full documentation is at http://drf-json-api.rtfd.org."""
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='drf-json-api',
version=__version__,
description=(
'A parser and renderer for Django REST Framework that adds support'
' for the JSON API specification.'),
long_description=readme + '\n\n' + doclink + '\n\n' + history,
author='Kevin Brown',
author_email='kevin@kevinbrown.in',
url='https://github.com/kevin-brown/drf-json-api',
packages=[
'rest_framework_json_api',
],
package_dir={'rest_framework_json_api': 'rest_framework_json_api'},
include_package_data=True,
install_requires=[],
license='MIT',
zip_safe=False,
keywords='drf-json-api',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy',
],
)