Fix error in PyInstaller packaged application.
This commit is contained in:
parent
ed1094b680
commit
12123961a4
1 changed files with 1 additions and 1 deletions
|
@ -18,8 +18,8 @@ from pbr.version import VersionInfo
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
|
|
||||||
AppName = u'dosage'
|
AppName = u'dosage'
|
||||||
version_info = VersionInfo(AppName)
|
|
||||||
try:
|
try:
|
||||||
|
version_info = VersionInfo(AppName)
|
||||||
__version__ = version_info.version_string() # PEP 396
|
__version__ = version_info.version_string() # PEP 396
|
||||||
AppVersion = version_info.version_string_with_vcs()
|
AppVersion = version_info.version_string_with_vcs()
|
||||||
except pkg_resources.DistributionNotFound:
|
except pkg_resources.DistributionNotFound:
|
||||||
|
|
Loading…
Reference in a new issue