This commit is contained in:
cclecle
2022-06-06 17:38:50 +02:00
parent e914acfba0
commit a2ab650aa9

View File

@@ -1,15 +1,18 @@
#!/usr/bin/env python
from setuptools import setup,find_packages
#from ChaChaIPToCountryDaemon._version import __version__ as ChaChaIPToCountryDaemon_Version
import pkg_resources
_PACKAGE_MANE="ChaChaIPToCountryDaemon"
with open("./README.md", "r") as fh:
long_description = fh.read()
with open("./{0}/_version.py".format(_ACKAGE_MANE)) as ver_file:
exec(ver_file.read(), main_ns)
setup(
name='ChaChaIPToCountryDaemon',
version=pkg_resources.require("ChaChaIPToCountryDaemon")[0].version,
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',