Move version number from __init__.py to __main__.py

This will allow the access from outside the package. setup.py and the
Makefile can use this version number. The __init__.py script imports
the version number, so the module will have the __version__ variable
as usual.
This commit is contained in:
akira committed 2023-01-15 18:12:26 +01:00
1 parent 15058feb7e
commit 8e2b8311ef
5 files changed
+19 -7

No files matched your search

+3 -1
View File
@@ -6,9 +6,11 @@ __license__ = "GPLv3"
from setuptools import find_namespace_packages, setup
from src.revpicommander.__main__ import __version__
setup(
name="revpicommander",
version="0.9.10rc3",
version=__version__,
packages=find_namespace_packages("src"),
package_dir={'': 'src'},