forked from ahknight/drf-httpsig
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·50 lines (47 loc) · 1.5 KB
/
setup.py
File metadata and controls
executable file
·50 lines (47 loc) · 1.5 KB
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
#!/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 :: 3.8.0",
"Programming Language :: Python :: 3.7.5",
"Programming Language :: Python :: 3.6.9",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
author='Adam Knight',
author_email='adam@movq.us',
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',
'freezegun'
],
install_requires=[
'djangorestframework>3',
'django>=1.11',
'httpsig>=1.3.0'
]
)