Skip to content

Commit

Permalink
shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Aug 10, 2024
1 parent d305b52 commit d18dc58
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Add requirements
run: python -m pip install --upgrade pip wheel setuptools conan
- name: Setup conan remote
run: conan remote add --index 0 odr https://artifactory.opendocument.app/artifactory/api/conan/conan
- name: Build SDist
run: pipx run build --sdist
- name: Check metadata
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/CMakeLists.txt → CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
find_package(odrcore REQUIRED)
find_package(pybind11 REQUIRED)

pybind11_add_module(pyodr pyodr.cpp)
pybind11_add_module(pyodr src/cpp/pyodr.cpp)
target_link_libraries(pyodr PRIVATE odrcore::odrcore)

install(
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires = [
"ninja",
"cmake>=3.12",
"conan>=2.0.0",
"scikit-build>=0.17.3",
"scikit-build-core",
"skbuild-conan",
]
build-backend = "setuptools.build_meta"
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from skbuild_conan import setup
from setuptools import find_packages
import subprocess


subprocess.run(["conan", "remote", "add", "--index", "0", "odr", "https://artifactory.opendocument.app/artifactory/api/conan/conan"])


setup(
Expand All @@ -18,6 +22,5 @@
"dev": ["black"],
"test": ["pytest>=6.0"],
},
conanfile="src/cpp/conanfile.txt",
conan_profile_settings={"compiler.cppstd": "20"},
)

0 comments on commit d18dc58

Please sign in to comment.