-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removed support for libssh2<1.7. * Removed native package scripts for obsolete libssh2 versions. * Removed conda recipe. * Moved find_eol files to ext * Updated setup * Updated gitignore. * Check for session dealloc before deallocating agent. * Updated sources * Updated circle CI. * Removed obsolete CI files. * Added manylinux-2014 wheel builds for x86_64. * Updated changelog * Updated CI cfg
- Loading branch information
Showing
58 changed files
with
3,399 additions
and
3,530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ wheelhouse | |
.idea/ | ||
ssh2/libssh2.so* | ||
doc/_build | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash -xe | ||
# This file is part of ssh2-python. | ||
# Copyright (C) 2017-2021 Panos Kittenis and contributors. | ||
# | ||
# This library is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
# License as published by the Free Software Foundation, version 2.1. | ||
# | ||
# This library is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public | ||
# License along with this library; if not, write to the Free Software | ||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
|
||
docker_tag="parallelssh/ssh2-manylinux" | ||
docker_files=("ci/docker/manylinux/Dockerfile" "ci/docker/manylinux/Dockerfile.2014_x86_64") | ||
|
||
rm -rf build ssh2/libssh2.* ssh2/*.so | ||
python ci/appveyor/fix_version.py . | ||
|
||
if [[ `uname -m` == "aarch64" ]]; then | ||
docker_tag="${docker_tag}:aarch64" | ||
docker_files=("ci/docker/manylinux/Dockerfile.aarch64") | ||
fi | ||
|
||
for docker_file in ${docker_files[@]}; do | ||
if [[ ${docker_file} == "ci/docker/manylinux/Dockerfile_2014_x86_64" ]]; then | ||
docker_tag = "${docker_tag}:2014_x86_64" | ||
fi | ||
docker pull $docker_tag || echo | ||
docker build --pull --cache-from $docker_tag ci/docker/manylinux -t $docker_tag -f ${docker_file} | ||
if [[ -z "${CIRCLE_PULL_REQUEST}" ]]; then docker push $docker_tag; fi | ||
docker run --rm -v `pwd`:/io $docker_tag /io/ci/build-wheels.sh | ||
ls wheelhouse/ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash -xe | ||
# This file is part of ssh2-python. | ||
# Copyright (C) 2017-2021 Panos Kittenis and contributors. | ||
# | ||
# This library is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
# License as published by the Free Software Foundation, version 2.1. | ||
# | ||
# This library is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public | ||
# License along with this library; if not, write to the Free Software | ||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
|
||
echo "Travis tag: $TRAVIS_TAG" | ||
|
||
# Compile wheels | ||
# For testing | ||
# for PYBIN in `ls -1d /opt/python/cp36-cp36m/bin | grep -v cpython`; do | ||
for PYBIN in `ls -1d /opt/python/*/bin | grep -v cpython`; do | ||
"${PYBIN}/pip" wheel /io/ -w wheelhouse/ | ||
done | ||
|
||
# Bundle external shared libraries into the wheels | ||
for whl in wheelhouse/*.whl; do | ||
auditwheel repair "$whl" -w /io/wheelhouse/ | ||
done | ||
|
||
# Install packages and test | ||
if [[ ! -z "$TRAVIS_TAG" ]]; then | ||
for PYBIN in `ls -1d /opt/python/*/bin | grep -v cpython`; do | ||
"${PYBIN}/pip" install ssh2-python --no-index -f /io/wheelhouse | ||
(cd "$HOME"; "${PYBIN}/python" -c 'from ssh2.session import Session; Session()') | ||
done | ||
fi |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.