Skip to content

Commit 4c9bb36

Browse files
committed
Merge branch 'improve-wheel-and-sdist-generation'
* improve-wheel-and-sdist-generation: sdist: Fix source distribution including missing file. Fixes #11 ci: Update scikit-ci to include fix for multiline support docs/make_a_release: Ensure uploaded distributions are signed travis: Add support for generating MacOSx wheels for Python 3.5. Fixes #7 scikit-ci/circle/manylinux: Ensure tag is updated from linux to manylinux1
2 parents 0b124e2 + 345fcfb commit 4c9bb36

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

.circleci-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ command:
1414
- |
1515
CI_ENV=`bash <(curl -s https://codecov.io/env)`
1616
DOCKER_ARGS="-e CI -e CIRCLECI -e MANYLINUX_PYTHON=$MANYLINUX_PYTHON -e GIRDER_TOKEN $CI_ENV"
17-
dockcross -a "$DOCKER_ARGS" bash -c "/opt/python/${MANYLINUX_PYTHON}/bin/pip install scikit-ci==0.12.0 && /opt/python/${MANYLINUX_PYTHON}/bin/ci --clear-cached-env"
17+
dockcross -a "$DOCKER_ARGS" bash -c "/opt/python/${MANYLINUX_PYTHON}/bin/pip install scikit-ci==0.13.0 && /opt/python/${MANYLINUX_PYTHON}/bin/ci --clear-cached-env"

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ language: python
88
matrix:
99
include:
1010

11+
- os: osx
12+
language: generic
13+
env:
14+
- PYTHONVERSION=3.5.2
15+
1116
- os: osx
1217
language: generic
1318
env:
@@ -25,13 +30,14 @@ matrix:
2530

2631
cache:
2732
directories:
33+
- $HOME/.pyenv/versions/3.5.2
2834
- $HOME/.pyenv/versions/3.4.5
2935
- $HOME/.pyenv/versions/3.3.6
3036
- $HOME/.pyenv/versions/2.7.12
3137
- $HOME/downloads
3238

3339
before_install:
34-
- pip install scikit-ci==0.12.0 scikit-ci-addons==0.10.0
40+
- pip install scikit-ci==0.13.0 scikit-ci-addons==0.10.0
3541
- ci_addons --install ../addons
3642

3743
install:

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
include CMakeLists.txt
22
include requirements-dev.txt
3+
include HISTORY.rst
4+
include README.rst
35

46
recursive-include src *
57
include versioneer.py

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cache:
3636
- C:\\cmake-3.6.2
3737

3838
init:
39-
- python -m pip install scikit-ci==0.12.0 scikit-ci-addons==0.10.0
39+
- python -m pip install scikit-ci==0.13.0 scikit-ci-addons==0.10.0
4040
- python -m ci_addons --install ../addons
4141

4242
- ps: ../addons/appveyor/rolling-build.ps1

docs/make_a_release.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ How to Make a Release
55
A core developer should use the following steps to create a release of
66
**cmake-python-distributions**.
77

8-
0. Configure `~/.pypirc` as described `here <http://peterdowns.com/posts/first-time-with-pypi.html>`_.
8+
0. Configure `~/.pypirc` as described `here <https://packaging.python.org/distributing/#uploading-your-project-to-pypi>`_.
99

1010
1. Make sure that all CI tests are passing: `AppVeyor <https://ci.appveyor.com/project/scikit-build/cmake-python-distributions-f3rbb>`_,
1111
`CircleCI <https://circleci.com/gh/scikit-build/cmake-python-distributions>`_
@@ -37,13 +37,13 @@ A core developer should use the following steps to create a release of
3737

3838
4. Upload the packages to the testing PyPI instance::
3939

40-
twine upload -r pypitest dist/*
40+
twine upload --sign -r pypitest dist/*
4141

4242
5. Check the `PyPI testing package page <https://testpypi.python.org/pypi/cmake/>`_.
4343

4444
6. Upload the packages to the PyPI instance::
4545

46-
twine upload dist/*
46+
twine upload --sign dist/*
4747

4848
7. Check the `PyPI package page <https://pypi.python.org/pypi/cmake/>`_.
4949

scikit-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ build:
3939
- python setup.py --hide-listing sdist
4040
- $<RUN_ENV> python setup.py --hide-listing bdist_wheel
4141

42+
circle:
43+
commands:
44+
- |
45+
# Since there are no external shared libraries to bundle into the wheels
46+
# this step will fixup the wheel switching from 'linux' to 'manylinux1' tag
47+
for whl in dist/*$(uname -p).whl; do
48+
auditwheel repair $whl -w ./dist/
49+
rm $whl
50+
done
51+
4252
test:
4353
commands:
4454
- python setup.py test

0 commit comments

Comments
 (0)