co-maps/tools/python/descriptions/setup.py
2025-11-22 13:58:55 +01:00

32 lines
1,013 B
Python
Executable file

#!/usr/bin/env python3
import os
import sys
import setuptools
module_dir = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(module_dir, "..", "..", ".."))
from pyhelpers.setup import chdir
from pyhelpers.setup import get_version
from pyhelpers.setup import get_requirements
with chdir(os.path.abspath(os.path.dirname(__file__))):
setuptools.setup(
name="omim-descriptions",
version=str(get_version()),
author="CoMaps",
author_email="info@comaps.app",
description="This package is a library that provides descriptions "
"(such as those from Wikipedia) to geographic objects.",
url="https://codeberg.org/comaps",
package_dir={"descriptions": ""},
packages=["descriptions"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
],
python_requires=">=3.6",
install_requires=get_requirements(),
)