map-machine/setup.py
Sergey Vartanov ef53fa9229 Fix requirements.
Bug is reported by @Zero3.
2021-09-24 06:24:58 +03:00

55 lines
1.4 KiB
Python

"""
Map Machine project dynamic metadata.
"""
from pathlib import Path
from setuptools import setup
from map_machine import (
__author__,
__description__,
__doc_url__,
__email__,
__url__,
__version__,
REQUIREMENTS,
)
with Path("README.md").open() as input_file:
long_description: str = input_file.read()
setup(
name="map-machine",
version=__version__,
packages=["map_machine"],
url=__url__,
project_urls={
"Bug Tracker": f"{__url__}/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
license="MIT",
author=__author__,
author_email=__email__,
description=__description__,
long_description="Map Machine is a Python OpenStreetMap renderer and tile "
"generator with a custom set of CC-BY 4.0 icons aimed to display as many "
"map features as possible.\n\n"
f"See [full documentation]({__doc_url__}).",
long_description_content_type="text/markdown",
entry_points={
"console_scripts": ["map-machine=map_machine.main:main"],
},
package_data={
"map_machine": [
"icons/icons.svg",
"icons/config.json",
"icons/LICENSE",
"scheme/default.yml",
],
},
python_requires=">=3.9",
install_requires=REQUIREMENTS,
)