Skip to content

Commit

Permalink
update build name in cx_freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Feb 6, 2019
1 parent 072e8f3 commit 28e1dc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cx_setup.py
Expand Up @@ -82,6 +82,8 @@
targetName="tagmaps.exe")
]

BUILD_NAME = f'TagMaps-Win-{VERSION}'

setup(name="tagmaps",
version=VERSION,
description="Tag Clustering for Tag Maps",
Expand All @@ -93,7 +95,7 @@
'excludes': EXCLUDES_MOD,
'optimize': 0,
'build_exe': (
Path.cwd() / 'build' / f'tagmaps-{VERSION}-win-amd64-3.6')
Path.cwd() / 'build' / BUILD_NAME)
}
},
executables=EXECUTABLES)
Expand All @@ -106,7 +108,7 @@
# see:
# https://github.com/anthony-tuininga/cx_Freeze/issues/353
BUILD_PATH_POOL = (
Path.cwd() / 'build' / f'tagmaps-{VERSION}-win-amd64-3.6' /
Path.cwd() / 'build' / BUILD_NAME /
'lib' / 'multiprocessing')
Path(BUILD_PATH_POOL / 'Pool.pyc').rename(
BUILD_PATH_POOL / 'pool.pyc')

0 comments on commit 28e1dc3

Please sign in to comment.