-- Trying "Ninja" generator
, it now displays a message
like -- Trying "Ninja (Visual Studio 15 2017 Win64 v140)" generator
.setup.py --cmake-executable "C:/Program Files
(x86)/cmake/cmake.exe"
works as expected.
Contributed by @jokva. See #400.skbuild.constants.skbuild_plat_name()
on macOS.
See #417.skbuild.platforms.windows.find_visual_studio()
.check_sdist_content()
and fix tests that are checking content of sdist to
account for changes introduced in Python 3.8 and backported to python 2.7, 3.6 and 3.7.
The changes introduced in python/cpython#9419
adds directory entries to ZIP files created by distutils. Thanks @anibali for the
contribution. See #404.check_wheel_content()
to consider changes in 0.33.1 < wheel.__version__ < 0.33.4
where directory entries are included when building wheel.
See pypa/wheel#294 <https://github.com/pypa/wheel/issues/294>.AssertionError
raised in check_wheel_content()
function by relocating the
source code into a dedicated module tests.pytest_helpers
and by adding a conftest.py
configuration file registering it for pytest assertion rewriting.
See https://docs.pytest.org/en/latest/writing_plugins.html#assertion-rewriting and #403.test_generator_selection
when building with “Visual C++ for Python 2.7”
installed for all users. This addresses failure associated with win_c_compilervs2008cxx_compilervs2008python2.7
when running test in scikit-build-feedstock where
“Visual C++ for Python 2.7” is installed using (vcpython27 chocolatey
package.CMAKE_OSX_DEPLOYMENT_TARGET
and CMAKE_OSX_ARCHITECTURES
values are provided. Thanks @nonhermitian for the contribution.
See #377.bdist_wheel
command to support wheel >= 0.32.0
. Thanks @fbudin69500 for reporting
issue #360.test_distribution.py
updating use of Path.files()
and requiring path.py>=11.5.0
.skbuild.constants.CMAKE_DEFAULT_EXECUTABLE
to facilitate distribution
of scikit-build in package manager like Nixpkgs where
all paths to dependencies are hardcoded. Suggested by @FRidh.zip_safe
option is set to False
. Suggested by @blowekamp.--skip-generator-test
when a generator is explicitly selected using
--generator
. This allows to speed up overall build when the build environment is known.setup.py
directory. See #335 fixed by @massich.--plat-name macosx-X.Y-x86_64
and -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=X.Y
and ensure that the ones specified as
command line arguments override the default values or the one hard-coded in the
cmake_args
setup keyword. Thanks @yonip for the help addressing #342.package_dir={'awesome': 'src/awesome/'},
is now
properly handled.pip install -e .
is called multiple times. See #352.--universal
and
--python-tags
have no effect.
Thanks @bgermann for the suggestion. See #353.check_wheel_content
utility function.$<RUN_ENV>
command wrapper. scikit-build should already take care of
setting up the expected environment.