forked from AltSchool/dynamic-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (35 loc) · 1.27 KB
/
setup.py
File metadata and controls
40 lines (35 loc) · 1.27 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
"""Setup script for dynamic-rest-bse."""
from setuptools import find_packages, setup
NAME = "dynamic-rest-bse"
DESCRIPTION = "Dynamic API support to Django REST Framework. Forked..."
URL = "http://github.com/BillSchumacher/dynamic-rest"
VERSION = "2.5.3"
SCRIPTS = ["manage.py"]
with open("install_requires.txt", encoding="utf-8") as fp:
INSTALL_REQUIRES = fp.readlines()
with open("README.rst", encoding="utf-8") as fp:
LONG_DESCRIPTION = fp.read()
setup(
description=DESCRIPTION,
include_package_data=True,
install_requires=INSTALL_REQUIRES,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/x-rst",
name=NAME,
packages=find_packages(exclude=["benchmarks", "tests"]),
scripts=SCRIPTS,
url=URL,
version=VERSION,
classifiers=[
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)