prettymaps/setup.py

28 wiersze
961 B
Python
Czysty Zwykły widok Historia

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",
version="v0.2-beta",
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': '.'},
package_data={'prettymaps': ['presets/*.json']},
2021-08-30 13:28:51 +00:00
)