cmake-build-extension icon indicating copy to clipboard operation
cmake-build-extension copied to clipboard

Setuptools extension to build and package CMake projects

Results 10 cmake-build-extension issues
Sort by recently updated
recently updated
newest added

The [`GitSdistFolder`](https://github.com/diegoferigo/cmake-build-extension/blob/212e25b5c3e7fbe97a3dd91555b246f1be46118a/src/cmake_build_extension/sdist_command.py#L126-L136) class should exclude bundling files that match the gitignore. Right now it selects all the files excluding the `.git` folder.

enhancement

Unless I'm misinterpreting something, using `BuildExtension` as `cmdclass['build_ext']` in `setup.py` makes any non-cmake extension modules completely ineffective, because `BuildExtension.run()` simply ignores them: https://github.com/diegoferigo/cmake-build-extension/blob/2c3d822e40fe3fd2d769ad09dba367e6617dcc82/src/cmake_build_extension/build_extension.py#L82 Is my understanding correct? How would I...

help wanted

- Remove Python 3.6 since its EOL in Dec 2021 - Add Python 3.11

enhancement

This should help speed up the builds of projects that have a large number of files that need to be compiled.

This issue is a reminder of the failure in CI related to the Python 3.7 job on Windows. Refer to https://github.com/diegoferigo/cmake-build-extension/pull/38 for the PR that marked this job as optional...

Here's a quote from the wrapper in `bindings_swig/bingins.i`: ```c++ void normalize_numpy(double* in_1, unsigned size_in_1, double** out_1, int* size_out_1) { const std::vector vector(in_1, in_1 + size_in_1); auto result = mymath::normalize(vector); *out_1...

Per [Python documentation](https://packaging.python.org/en/latest/guides/using-manifest-in/) > The following files are included in a source distribution by default: > > all C source files mentioned in the ext_modules or libraries setup() arguments However,...

The extension tries to write the __init__.py into the wrong folder. I don't know how to change this behavior ```bash ==> Building: $ cmake --build /home/xxx/work/cpp/build/temp.linux-x86_64-cpython-310_Blah --config Release ==> Installing:...

Due to this issue: https://github.com/pypa/setuptools_scm/issues/653 and brokenness in setuptools itself it is currently not possible to turn `setuptools_scm` off if it is installed inside the build environment. That means if...

I need to build a Python Extension for an OS that requires compilation with Xcode (cross compile, build on MacOS). cmake-build-extension hard-codes the use of Ninja. No issue having Ninja...