-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (49 loc) · 1.73 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
54
import os
from codecs import open
from setuptools import find_packages, setup
VERSION = '2.2.3'
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# 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='drf-rehive-extras',
version=VERSION,
packages=find_packages(),
include_package_data=True,
description='Extras for DRF',
long_description=README,
long_description_content_type='text/markdown',
url='https://github.com/rehive/drf-rehive-extras',
download_url='https://github.com/rehive/drf-rehive-extras/archive/{}.zip'.format(VERSION),
author='Rehive',
author_email='[email protected]',
license='MIT',
install_requires=[
"Django>=3.0",
"djangorestframework>=3.13.1",
"drf-flex-fields>=0.9.7",
"django-filter>=21.0",
"django-enumfields>=2.1.1",
"drf-spectacular>=0.26.3"
],
python_requires='>=3.6',
classifiers=[
'Framework :: Django',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)