-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
48 lines (45 loc) · 1.66 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
try:
import multiprocessing # Suppresses a confusing but harmless warning when running ./setup.py test
import logging
except ImportError:
# multiprocessing introduced in Python 2.6
pass
from throttle import __version__
long_description = open('README.rst').read()
setup(
name="django-throttle-requests",
description="A Django framework for application-layer rate limiting",
long_description=long_description,
long_description_content_type="text/x-rst",
packages=find_packages(),
url="https://github.com/sobotklp/django-throttle-requests",
version=__version__,
author='Lewis Sobotkiewicz',
author_email='[email protected]',
install_requires=[
'Django>=2.2',
],
license='MIT',
test_suite='runtests.runtests',
classifiers=[
'License :: OSI Approved :: MIT License',
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)