mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-01-16 12:40:31 +01:00
31 lines
1.0 KiB
Python
Executable File
31 lines
1.0 KiB
Python
Executable File
import os
|
|
from pathlib import Path
|
|
from setuptools import setup, find_packages
|
|
|
|
parent_dir = Path(__file__).resolve().parent
|
|
presets_dir = os.path.abspath(os.path.join(os.path.pardir, "presets"))
|
|
|
|
setup(
|
|
name="prettymaps",
|
|
version="v1.3.2",
|
|
description="A simple python library to draw pretty maps from OpenStreetMap data",
|
|
long_description=parent_dir.joinpath("README.md").read_text(),
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/marceloprates/prettymaps",
|
|
author="Marcelo Prates",
|
|
author_email="marceloorp@gmail.com",
|
|
license="MIT License",
|
|
packages=find_packages(exclude=("assets", "notebooks", "prints", "script")),
|
|
install_requires=parent_dir.joinpath("requirements.txt")
|
|
.read_text()
|
|
.splitlines(), # + [
|
|
#'vsketch @ git+https://github.com/abey79/vsketch@1.0.0'
|
|
# ],
|
|
classifiers=[
|
|
"Intended Audience :: Science/Research",
|
|
],
|
|
package_dir={"prettymaps": "prettymaps"},
|
|
package_data={"prettymaps": ["presets/*.json"]},
|
|
python_requires=">=3.11",
|
|
)
|