Skip to content

Commit 07f9c01

Browse files
committed
Remove support for building source distribution
1 parent 730d537 commit 07f9c01

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

.circleci/config.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ references:
99
- run:
1010
name: Run CI
1111
command: |
12-
#
13-
# Set UPLOAD_SDIST environment variable
14-
#
15-
export UPLOAD_SDIST=$(echo ${CIRCLE_JOB} | cut -d"_" -f3)
16-
echo "UPLOAD_SDIST [${UPLOAD_SDIST}]"
1712
#
1813
# Run CI
1914
#
@@ -46,7 +41,7 @@ jobs:
4641
# x64
4742
# manylinux-x64_cp27-cp27mu:
4843
# <<: *x64_build_job
49-
manylinux-x64_cp37-cp37m_upload-sdist:
44+
manylinux-x64_cp37-cp37m:
5045
<<: *x64_build_job
5146

5247
# x86
@@ -89,7 +84,7 @@ workflows:
8984
# x64
9085
# - manylinux-x64_cp27-cp27mu:
9186
# <<: *no_filters
92-
- manylinux-x64_cp37-cp37m_upload-sdist:
87+
- manylinux-x64_cp37-cp37m:
9388
<<: *no_filters
9489
# x86
9590
# - manylinux-x86_cp27-cp27mu:
@@ -101,7 +96,7 @@ workflows:
10196
requires:
10297
# x64
10398
# - manylinux-x64_cp27-cp27mu
104-
- manylinux-x64_cp37-cp37m_upload-sdist
99+
- manylinux-x64_cp37-cp37m
105100
# x86
106101
# - manylinux-x86_cp27-cp27mu
107102
# - manylinux-x86_cp37-cp37m
@@ -112,7 +107,7 @@ workflows:
112107
requires:
113108
# x64
114109
# - manylinux-x64_cp27-cp27mu
115-
- manylinux-x64_cp37-cp37m_upload-sdist
110+
- manylinux-x64_cp37-cp37m
116111
# x86
117112
# - manylinux-x86_cp27-cp27mu
118113
# - manylinux-x86_cp37-cp37m

scikit-ci.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,8 @@ before_build:
3535

3636
build:
3737
commands:
38-
# Source distribution
39-
- python setup.py --hide-listing sdist
4038
# Built distribution (wheel)
4139
- python setup.py --hide-listing bdist_wheel $<SETUP_BDIST_WHEEL_ARGS> -- $<SETUP_CMAKE_ARGS>
42-
# Cleanup
43-
- python: |
44-
import glob, os
45-
if os.environ.get("UPLOAD_SDIST", "") == "":
46-
sdist=(glob.glob("dist/*.tar.gz") + glob.glob("dist/*.zip"))[0]
47-
print("Deleting [%s]" % sdist)
48-
os.remove(sdist)
4940

5041
circle:
5142
commands:

0 commit comments

Comments
 (0)