Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sofus Albert Høgsbro Rose
openlut
Commits
04680257
Commit
04680257
authored
Jul 22, 2018
by
Sofus Albert Høgsbro Rose
Browse files
Fixed some small issues & bumped version number
parent
7ce14f8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
packaging/library/Python.py
packaging/library/Python.py
+7
-4
settings.py
settings.py
+1
-1
No files found.
packaging/library/Python.py
View file @
04680257
...
...
@@ -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"
)
)
],
*
[
...
...
settings.py
View file @
04680257
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment