Files
ChaChaIPToCountryDaemon/setup.py
2022-07-25 13:55:50 +02:00

31 lines
970 B
Python

#!/usr/bin/env python
from setuptools import setup,find_packages
_PACKAGE_MANE="ChaChaIPToCountryDaemon"
_REQUIRES = ["tornado","gitpython","netaddr","aiofiles","pycountry","dnspython","asyncstdlib","pytz","tzlocal"]
with open("./README.md", "r") as fh:
long_description = fh.read()
main_ns = {}
with open("./{0}/_version.py".format(_PACKAGE_MANE)) as ver_file:
exec(ver_file.read(), main_ns)
setup(
name=_PACKAGE_MANE,
version=main_ns['__version__'],
description='An HTTP/REST IP2Country Daemon using country-ip-blocks database.',
author='Clement CHASTANIER',
author_email='clement.chastanier@gmail.com',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://chacha.ddns.net/gitea/chacha/ChaChaIPToCountryDaemon',
packages=find_packages(),
install_requires=_REQUIRES,
setup_requires=_REQUIRES,
license="CC BY-NC-SA 4.0",
python_requires='>=3.8',
),