Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Jul 29, 2023
1 parent 1271eb5 commit d064862
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,33 @@ testpaths = ["tests"]

[tool.cibuildwheel]
# Setuptools bug causes collision between pypy and cpython artifacts
before-build = ["rm -rf {project}/build",
"""conan install {project} \\
-s build_type=Release \\
-s compiler.cppstd=17 \\
--output-folder "{project}/conan_build" \\
-o '*/*:shared=True' \\
--build=missing"""
before-build = [
"rm -rf '{project}/build'",
"pip install 'conan>=2'",
"conan profile detect --force",
"""
conan install {project} \
-s build_type=Release \
-s compiler.cppstd=17 \
--output-folder "$TMPDIR/conan_build" \
-o '*/*:shared=True' \
--build="*"
"""
]
environment = """CMAKE_ARGS="-DCMAKE_PREFIX_PATH='{project}/conan_build'" """
environment = { CMAKE_ARGS = '-DCMAKE_PREFIX_PATH="$TMPDIR/conan_build"', MACOSX_DEPLOYMENT_TARGET = '10.15' }
environment-pass = ["CMAKE_ARGS"]

[tool.ruff]
extend-select = [
"B", # flake8-bugbear
"B", # flake8-bugbear
"B904",
"I", # isort
"PGH", # pygrep-hooks
"RUF", # Ruff-specific
"UP", # pyupgrade
"I", # isort
"PGH", # pygrep-hooks
"RUF", # Ruff-specific
"UP", # pyupgrade
]
extend-ignore = [
"E501", # Line too long
"E501", # Line too long
]
target-version = "py36"

Expand Down

0 comments on commit d064862

Please sign in to comment.