Debian Codegraph @

setup.py

raw
1 #!/usr/bin/env python
2 import os
3
4 from setuptools import find_packages, setup
5
6 from rest_framework_gis import get_version
7
8 here = os.path.abspath(os.path.dirname(__file__))
9
10 # Get the long description from the README file
11 with open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
12 long_description = f.read()
13
14
15 setup(
16 name="djangorestframework-gis",
17 version=get_version(),
18 license="BSD",
19 author="Douglas Meehan",
20 author_email="[email protected]",
21 description="Geographic add-ons for Django Rest Framework",
22 long_description=long_description,
23 url="https://github.com/openwisp/django-rest-framework-gis",
24 download_url="https://github.com/openwisp/django-rest-framework-gis/releases",
25 platforms=["Platform Indipendent"],
26 keywords=["django", "rest-framework", "gis", "geojson"],
27 packages=find_packages(exclude=["tests", "tests.*"]),
28 install_requires=[
29 "django>=4.2",
30 "djangorestframework>=3.12,<3.19",
31 "django-filter>=23.5,<27.0",
32 ],
33 classifiers=[
34 "Development Status :: 5 - Production/Stable",
35 "Environment :: Web Environment",
36 "Topic :: Internet :: WWW/HTTP",
37 "Intended Audience :: Developers",
38 "License :: OSI Approved :: BSD License",
39 "Operating System :: OS Independent",
40 "Framework :: Django",
41 "Programming Language :: Python",
42 "Programming Language :: Python :: 3",
43 "Programming Language :: Python :: 3.10",
44 "Programming Language :: Python :: 3.11",
45 "Programming Language :: Python :: 3.12",
46 "Programming Language :: Python :: 3.13",
47 "Programming Language :: Python :: 3 :: Only",
48 ],
49 project_urls={
50 "Bug Reports": "https://github.com/openwisp/django-rest-framework-gis/issues",
51 "Continuous Integration": (
52 "https://github.com/openwisp/django-rest-framework-gis/actions/workflows/ci.yml"
53 ),
54 "Mailing List": "https://groups.google.com/forum/#!forum/django-rest-framework-gis",
55 "Code Coverage": "https://coveralls.io/github/openwisp/django-rest-framework-gis",
56 "Source Code": "https://github.com/openwisp/django-rest-framework-gis",
57 },
58 )