forked from up42/up42-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (36 loc) · 1.38 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
from pathlib import Path
from setuptools import setup, find_packages
parent_dir = Path(__file__).resolve().parent
setup(
name="up42-py",
version=parent_dir.joinpath("up42/_version.txt").read_text(encoding="utf-8"),
author="UP42",
author_email="[email protected]",
description="Python SDK for UP42",
long_description=parent_dir.joinpath("README.md").read_text(),
long_description_content_type="text/markdown",
url="https://github.com/up42/up42-py",
license="MIT",
packages=find_packages(exclude=("tests", "docs", "examples")),
package_data={
"": ["_version.txt", "data/aoi_berlin.geojson", "data/aoi_washington.geojson"]
},
data_files=[
("", ["requirements.txt", "requirements-viz.txt", "up42/_version.txt"]),
("data", ["up42/data/aoi_berlin.geojson", "up42/data/aoi_washington.geojson"]),
],
include_package_data=True,
zip_safe=False,
install_requires=parent_dir.joinpath("requirements.txt").read_text().splitlines(),
extras_require={
"viz": parent_dir.joinpath("requirements-viz.txt").read_text().splitlines(),
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
],
python_requires=">=3.7",
)