Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
openmesh-python
Commits
77871b94
Commit
77871b94
authored
Mar 02, 2018
by
Isaak Lim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix None comparison
parent
20b2f24d
Pipeline
#6362
passed with stages
in 5 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
setup.py
setup.py
+4
-3
No files found.
setup.py
View file @
77871b94
...
...
@@ -66,18 +66,19 @@ class CMakeBuild(build_ext):
env
[
'CXXFLAGS'
]
=
'{} -DVERSION_INFO=
\\
"{}
\\
"'
.
format
(
env
.
get
(
'CXXFLAGS'
,
''
),
self
.
distribution
.
get_version
())
if
self
.
which
(
'ninja'
,
env
)
!=
None
:
cmake_args
+=
[
'-GNinja'
]
if
self
.
which
(
'ninja'
,
env
)
is
not
None
:
cmake_args
+=
[
'-GNinja'
]
if
not
os
.
path
.
exists
(
self
.
build_temp
):
os
.
makedirs
(
self
.
build_temp
)
subprocess
.
check_call
([
'cmake'
,
ext
.
sourcedir
]
+
cmake_args
,
cwd
=
self
.
build_temp
,
env
=
env
)
subprocess
.
check_call
([
'cmake'
,
'--build'
,
'.'
]
+
build_args
,
cwd
=
self
.
build_temp
)
setup
(
name
=
'openmesh'
,
use_scm_version
=
{
'version_scheme'
:
'post-release'
,
'version_scheme'
:
'post-release'
,
},
author
=
'Alexander Dielen, Isaak Lim, Janis Born'
,
author_email
=
''
,
...
...
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