This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
forked from etoccalino/django-rest-framework-httpsignature
-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·46 lines (43 loc) · 1.44 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
#!/usr/bin/env python
from setuptools import setup, find_packages
# create long description
with open('README.rst') as file:
long_description = file.read()
with open('CHANGELOG.rst') as file:
long_description += '\n\n' + file.read()
# Tox testing command
from setuptools.command.test import test as TestCommand
import sys
setup(
name='drf-httpsig',
description='HTTP Signature support for Django REST framework',
long_description=long_description,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
'Framework :: Django',
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
author='Adam Knight',
author_email='[email protected]',
url='https://github.com/ahknight/drf-httpsig',
license='MIT',
packages=find_packages(),
zip_safe=True,
use_scm_version=True,
setup_requires=['pytest-runner', 'setuptools_scm'],
tests_require=['pytest', 'pytest-django'],
install_requires=[
'djangorestframework<3',
'django<=1.7',
'httpsig<2'
]
)