Added version file

This commit is contained in:
Mark Qvist 2022-09-14 16:30:42 +02:00
parent afe529fa0a
commit ff48661f60
3 changed files with 6 additions and 1 deletions

View File

@ -3,5 +3,7 @@ import glob
from .LXMessage import LXMessage
from .LXMRouter import LXMRouter
from ._version import __version__
modules = glob.glob(os.path.dirname(__file__)+"/*.py")
__all__ = [ os.path.basename(f)[:-3] for f in modules if not f.endswith('__init__.py')]

1
LXMF/_version.py Normal file
View File

@ -0,0 +1 @@
__version__ = "0.1.7"

View File

@ -3,9 +3,11 @@ import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
exec(open("LXMF/_version.py", "r").read())
setuptools.setup(
name="lxmf",
version="0.1.7",
version=__version__,
author="Mark Qvist",
author_email="mark@unsigned.io",
description="Lightweight Extensible Message Format for Reticulum",