Skip to content

Commit 367c8f4

Browse files
committed
sdist: Simplify distribution building
* CMake sources or binaries will be re-downloaded. Since wheels can be generated by either building from source or re-packaging existing binaries, these is no point in systematically including the CMake sources. * disabled running of cmake while doing sdist
1 parent c1ea2f7 commit 367c8f4

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Diff for: MANIFEST.in

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
include CMakeLists.txt
2+
include CMakeUrls.cmake
23
include requirements-dev.txt
34
include HISTORY.rst
45
include README.rst
6+
include LICENSE_Apache_20
7+
include LICENSE_BSD_3
8+
9+
recursive-exclude _skbuild *
10+
recursive-exclude src *
511

6-
recursive-include src *
712
include versioneer.py
813
include cmake/_version.py

Diff for: scikit-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ before_build:
3939

4040
build:
4141
commands:
42-
- python setup.py --hide-listing sdist -- $<SETUP_CMAKE_ARGS>
42+
- python setup.py --hide-listing sdist
4343
- $<RUN_ENV> python setup.py --hide-listing bdist_wheel $<SETUP_BDIST_WHEEL_ARGS> -- $<SETUP_CMAKE_ARGS>
4444

4545
circle:

Diff for: setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def parse_requirements(filename):
4141
packages=['cmake'],
4242

4343
cmake_install_dir='cmake/data',
44-
cmake_with_sdist=True,
4544

4645
entry_points={
4746
'console_scripts': [

0 commit comments

Comments
 (0)