Skip to content

Commit 2da2b23

Browse files
committed
reverse the logic
1 parent ea7bd12 commit 2da2b23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def get_cgal_version():
4747
""",
4848
long_description_content_type="text/markdown",
4949
url="https://github.com/CGAL/cgal-swig-bindings",
50-
conan_requirements=["cmake/[>=3.12 <4]"] + ([] if os.environ.get(
51-
'CGAL_PYTHON_MODULE_VERSION') else ["cgal/[>=6.0 <7.0]"]),
50+
conan_requirements=["cmake/[>=3.12 <4]"] + (["cgal/[>=6.0 <7.0]"] if not os.environ.get(
51+
'CGAL_PYTHON_MODULE_VERSION') else []),
5252
packages=['CGAL'] + [f'CGAL.CGAL_{m}' for m in CGAL_MODULES],
5353
package_dir=(
5454
{'CGAL': 'SWIG_CGAL/files'} |

0 commit comments

Comments
 (0)