DEV
- fix / update setup.py
This commit is contained in:
15
setup.py
15
setup.py
@@ -1,14 +1,20 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from setuptools import setup,find_packages
|
||||
from ChaChaSimpleINI import __version__ as ChaChaSimpleINI_Version
|
||||
|
||||
_PACKAGE_MANE="ChaChaSimpleINI"
|
||||
_REQUIRES = []
|
||||
|
||||
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='ChaChaSimpleINI',
|
||||
version=ChaChaSimpleINI_Version,
|
||||
name=_PACKAGE_MANE,
|
||||
version=main_ns['__version__'],
|
||||
description='Simple INI Parser/Generator',
|
||||
author='Clement CHASTANIER',
|
||||
author_email='clement.chastanier@gmail.com',
|
||||
@@ -16,7 +22,8 @@ setup(
|
||||
long_description_content_type="text/markdown",
|
||||
url='https://chacha.ddns.net/gitea/chacha/ChaChaSimpleINI',
|
||||
packages=find_packages(),
|
||||
install_requires=[],
|
||||
install_requires=_REQUIRES,
|
||||
setup_requires=_REQUIRES,
|
||||
license="CC BY-NC-SA 4.0",
|
||||
python_requires='>=3.8',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user