-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from kngwyu/release0.0.2
Release 0.0.2
- Loading branch information
Showing
22 changed files
with
238 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Developper notes | ||
|
||
## Build manylinux wheel | ||
``` | ||
docker run --rm -v $PWD:/io quay.io/pypa/manylinux1_x86_64 /io/build-wheels.sh | ||
``` |
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,76 @@ | ||
jobs: | ||
- job: WindowsTest | ||
pool: {vmImage: 'vs2017-win2016'} | ||
strategy: | ||
maxParallel: 2 | ||
matrix: | ||
Python36: | ||
PYTHON_VERSION: '3.6' | ||
Python37: | ||
PYTHON_VERSION: '3.7' | ||
steps: | ||
- template: ci/azure/install.yml | ||
parameters: | ||
python_version: $(PYTHON_VERSION) | ||
- bash: | | ||
rustup default nightly | ||
cargo test --manifest-path=core/Cargo.toml | ||
cd python | ||
cargo test --no-default-features | ||
tox -e py | ||
displayName: Test on windows | ||
- job: MacOsWheel | ||
pool: {vmImage: 'macOS-10.13'} | ||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master') | ||
strategy: | ||
maxParallel: 2 | ||
matrix: | ||
Python36: | ||
PYTHON_VERSION: '3.6' | ||
Python37: | ||
PYTHON_VERSION: '3.7' | ||
steps: | ||
- template: ci/azure/install.yml | ||
parameters: | ||
python_version: $(PYTHON_VERSION) | ||
- template: ci/azure/buildwheel.yml | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: wheelhouse | ||
artifactName: MacOsWheel | ||
|
||
- job: WindowsWheel | ||
pool: {vmImage: 'vs2017-win2016'} | ||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master') | ||
strategy: | ||
maxParallel: 2 | ||
matrix: | ||
Python36: | ||
PYTHON_VERSION: '3.6' | ||
Python37: | ||
PYTHON_VERSION: '3.7' | ||
steps: | ||
- template: ci/azure/install.yml | ||
parameters: | ||
python_version: $(PYTHON_VERSION) | ||
- template: ci/azure/buildwheel.yml | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: wheelhouse | ||
artifactName: WindowsWheel | ||
|
||
- job: ManyLinux1Wheel | ||
pool: {vmImage: 'Ubuntu-16.04'} | ||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master') | ||
steps: | ||
- script: | | ||
docker pull quay.io/pypa/manylinux1_x86_64 | ||
docker run --rm -v $PWD:/io quay.io/pypa/manylinux1_x86_64 /io/build-wheels.sh | ||
mkdir wheelhouse | ||
sudo mv python/dist/*manylinux1*.whl wheelhouse | ||
displayName: Build manylinux1 wheel | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: wheelhouse | ||
artifactName: ManyLinux1Wheel |
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 |
---|---|---|
|
@@ -14,4 +14,3 @@ done | |
for whl in dist/*.whl; do | ||
auditwheel repair "$whl" -w dist/ | ||
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,8 @@ | ||
steps: | ||
- bash: | | ||
rustup default nightly | ||
mkdir wheelhouse | ||
cd python | ||
python setup.py bdist_wheel | ||
mv dist/*.whl ../wheelhouse | ||
displayName: Build wheel |
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,40 @@ | ||
parameters: | ||
rust_version: nightly | ||
python_version: 3.6 | ||
python_arch: x64 | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: ${{ parameters.python_version }} | ||
addToPath: true | ||
architecture: ${{ parameters.python_arch }} | ||
|
||
- script: | | ||
ci/travis/setup.sh | ||
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" | ||
env: | ||
RUST_VERSION: ${{ parameters.rust_version }} | ||
displayName: Install Rust for Mac or Linux | ||
condition: not(eq(variables['Agent.OS'], 'Windows_NT')) | ||
- script: | | ||
curl -sSf -o rustup-init.exe https://win.rustup.rs | ||
rustup-init.exe -y --default-toolchain %RUST_VERSION% | ||
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin" | ||
env: | ||
RUST_VERSION: ${{parameters.rust_version}} | ||
displayName: Install Rust for Windows | ||
condition: eq(variables['Agent.OS'], 'Windows_NT') | ||
- script: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
pip install tox tox-venv setuptools-rust | ||
displayName: Install Python packages | ||
- script: | | ||
rustup -V | ||
rustup component list --installed | ||
rustc -Vv | ||
cargo -V | ||
displayName: Query Rust versions |
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
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,9 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
cargo build --verbose --all | ||
cargo test --manifest-path=core/Cargo.toml | ||
cd python | ||
cargo test --no-default-features | ||
tox -e py |
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 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 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 |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
from . import rainy_impls | ||
except ImportError: | ||
pass | ||
|
||
|
||
__version__ = '0.0.2' |
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
Oops, something went wrong.