prettymaps/setup.py

28 wiersze
967 B
Python

import os
from pathlib import Path
from setuptools import setup, find_packages
2021-08-28 20:03:21 +00:00
parent_dir = Path(__file__).resolve().parent
presets_dir = os.path.abspath(os.path.join(os.path.pardir, 'presets'))
setup(
2021-08-30 13:28:51 +00:00
name="prettymaps",
2023-02-15 20:15:59 +00:00
version="v1.0.0",
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",
packages=find_packages(
exclude=("assets", "notebooks", "prints", "script")),
install_requires=parent_dir.joinpath(
"requirements.txt").read_text().splitlines(),
classifiers=[
2021-08-30 13:28:51 +00:00
"Intended Audience :: Science/Research",
],
package_dir={'prettymaps': 'prettymaps'},
package_data={'prettymaps': ['presets/*.json']},
2021-08-30 13:28:51 +00:00
)