add -dev flag to clearly distinguish development versions
This commit is contained in:
parent
83ff417f4d
commit
b930bb432d
@ -1,5 +1,5 @@
|
||||
from distutils.version import StrictVersion
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
_versionstring = "0.20.0"
|
||||
strictversion = StrictVersion(_versionstring)
|
||||
openwebrx_version = "v{0}".format(strictversion)
|
||||
_versionstring = "0.20.0-dev"
|
||||
looseversion = LooseVersion(_versionstring)
|
||||
openwebrx_version = "v{0}".format(looseversion)
|
||||
|
4
setup.py
4
setup.py
@ -1,6 +1,6 @@
|
||||
from glob import glob
|
||||
from setuptools import setup
|
||||
from owrx.version import strictversion
|
||||
from owrx.version import looseversion
|
||||
|
||||
try:
|
||||
from setuptools import find_namespace_packages
|
||||
@ -10,7 +10,7 @@ except ImportError:
|
||||
|
||||
setup(
|
||||
name="OpenWebRX",
|
||||
version=str(strictversion),
|
||||
version=str(looseversion),
|
||||
packages=find_namespace_packages(include=["owrx", "owrx.source", "owrx.service", "owrx.controllers", "owrx.property", "owrx.form", "csdr", "htdocs"]),
|
||||
package_data={"htdocs": [f[len("htdocs/") :] for f in glob("htdocs/**/*", recursive=True)]},
|
||||
entry_points={"console_scripts": ["openwebrx=owrx.__main__:main"]},
|
||||
|
Loading…
Reference in New Issue
Block a user