Skip to content

Commit

Permalink
Merge branch 'fix-versioning'
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Jun 8, 2021
2 parents bd5bb31 + 1063820 commit ab25ec0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pynitrokey/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.3
0.4.3.1
8 changes: 5 additions & 3 deletions win_setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import pathlib
from cx_Freeze import setup, Executable

# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages = [], excludes = [])

msiOptions = dict(
Expand All @@ -15,8 +14,11 @@
Executable('nitropy.py', base=base)
]

__version_path__ = pathlib.Path(__file__).parent.resolve().absolute() / "pynitrokey" / "VERSION"
__version__ = open(__version_path__).read().strip()

setup(name='pynitrokey',
version = '0.4.2',
version = __version__,
description = 'Nitrokey Python Tools',
options = dict(build_exe = buildOptions,
bdist_msi = msiOptions),
Expand Down

0 comments on commit ab25ec0

Please sign in to comment.