Commit 04680257 authored by Sofus Albert Høgsbro Rose's avatar Sofus Albert Høgsbro Rose
Browse files

Fixed some small issues & bumped version number

parent 7ce14f8f
......@@ -167,7 +167,8 @@ def runSetup(*setup_args) :
# Move dist into place; delete anything already there.
if path.exists(settings.path_dist): File.delete(settings.path_dist)
File.move(path.join(settings.python.path_python, 'dist'), settings.path_dist)
newDistPath = path.join(settings.python.path_python, 'dist')
if path.exists(newDistPath): File.move(newDistPath, settings.path_dist)
def uploadToPyPi(test=False) :
......@@ -210,19 +211,21 @@ def build_pyinstaller(isRelease=False) :
# ~ venv_packages = path.join(venv_lib, next(Path(venv_lib).glob("python*")), 'site-packages')
# Run pyinstaller & move dist into place.
osSep = ":" if not Platform.isPlatform("Windows") else ";"
OS.runCommand(
'pyinstaller',
*pyinst_args,
*[
'--add-data {}:.'.format(ext)
'--add-data {}{}.'.format(ext, osSep)
for ext in list( Path(settings.python.path_alias).glob("*.so") )
],
*[
'--add-data {}:.'.format(ext)
'--add-data {}{}.'.format(ext, osSep)
for ext in list( Path(settings.python.path_alias).glob("*.dll") )
],
*[
'--add-data {}:.'.format(ext)
'--add-data {}{}.'.format(ext, osSep)
for ext in list( Path(settings.python.path_alias).glob("*.py") )
],
*[
......
......@@ -35,7 +35,7 @@ keywords = ['color', 'image', 'images', 'processing']
# Semantic Versioning
version_major = 0
version_minor = 2
version_patch = 7
version_patch = 8
version = '{}.{}.{}'.format(version_major, version_minor, version_patch)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment