-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
43 lines (37 loc) · 1.17 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
from setuptools import find_packages, setup
import importer
def read_file(path: str):
with open(path, "r") as file:
return file.read()
setup_requires = [
"wheel",
]
setup(
name="geonode-importer",
version=importer.__version__,
url=importer.__url__,
description=importer.__doc__,
long_description="A GeoNode 4.0+ app that implements a brand new upload/import flow",
long_description_content_type="text/markdown",
author=importer.__author__,
author_email=importer.__email__,
platforms="any",
classifiers=[
"Environment :: Web Environment",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages=find_packages(),
package_data={"importer": ["templates/*.html", "templates/layers/*.html"]},
include_package_data=True,
install_requires=[
"setuptools>=59",
"gdal<=3.4.3",
"pdok-geopackage-validator==0.8.5",
"geonode-django-dynamic-model==0.4.0",
],
)