2022-11-08 13:00:08 +00:00
|
|
|
import os
|
2022-11-08 13:16:21 +00:00
|
|
|
from pathlib import Path
|
|
|
|
from setuptools import setup, find_packages
|
2021-08-28 20:03:21 +00:00
|
|
|
|
|
|
|
parent_dir = Path(__file__).resolve().parent
|
2022-11-08 13:00:08 +00:00
|
|
|
presets_dir = os.path.abspath(os.path.join(os.path.pardir, 'presets'))
|
2021-08-15 16:30:02 +00:00
|
|
|
|
|
|
|
setup(
|
2021-08-30 13:28:51 +00:00
|
|
|
name="prettymaps",
|
2021-10-18 20:50:28 +00:00
|
|
|
version="v0.1.3",
|
2021-08-30 13:28:51 +00:00
|
|
|
description="A simple python library to draw pretty maps from OpenStreetMap data",
|
2021-08-28 20:11:09 +00:00
|
|
|
long_description=parent_dir.joinpath("README.md").read_text(),
|
|
|
|
long_description_content_type="text/markdown",
|
2021-08-30 13:28:51 +00:00
|
|
|
url="https://github.com/marceloprates/prettymaps",
|
|
|
|
author="Marcelo Prates",
|
|
|
|
author_email="marceloorp@gmail.com",
|
|
|
|
license="MIT License",
|
2022-11-08 13:00:08 +00:00
|
|
|
packages=find_packages(
|
|
|
|
exclude=("assets", "notebooks", "prints", "script")),
|
|
|
|
install_requires=parent_dir.joinpath(
|
|
|
|
"requirements.txt").read_text().splitlines(),
|
2021-08-15 16:30:02 +00:00
|
|
|
classifiers=[
|
2021-08-30 13:28:51 +00:00
|
|
|
"Intended Audience :: Science/Research",
|
2021-08-15 16:30:02 +00:00
|
|
|
],
|
2022-11-08 13:28:06 +00:00
|
|
|
package_dir={'prettymaps': '.'},
|
|
|
|
package_data={'prettymaps': ['presets/*.json']},
|
2021-08-30 13:28:51 +00:00
|
|
|
)
|