Get version info with setup.cfg

This commit is contained in:
Kangwook Lee 2021-09-11 13:57:45 +09:00 committed by Muayyad Alsadi
parent b6a9f8efd4
commit 785f7ad8a3
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,5 @@
[bdist_wheel]
universal = 1
[metadata]
version = attr: podman_compose.__version__

View File

@ -6,11 +6,8 @@ try:
except:
readme = ''
from podman_compose import __version__ as podman_compose_version
setup(
name='podman-compose',
version=podman_compose_version,
description="A script to run docker-compose.yml using podman",
long_description=readme,
long_description_content_type='text/markdown',