Small tooling fixes

This commit is contained in:
konstin 2018-11-02 22:32:18 +01:00
parent 234e2c6998
commit da0d6eeb5d
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@ dist/
.mypy_cache/ .mypy_cache/
.hypothesis/ .hypothesis/
.eggs/ .eggs/
venv*
*.so *.so
*.out *.out

View File

@ -7,8 +7,7 @@ readme = "README.md"
keywords = ["pyo3", "python", "cpython", "ffi"] keywords = ["pyo3", "python", "cpython", "ffi"]
homepage = "https://github.com/pyo3/pyo3" homepage = "https://github.com/pyo3/pyo3"
repository = "https://github.com/pyo3/pyo3" repository = "https://github.com/pyo3/pyo3"
# Reactivate this once docs.rs is fixed documentation = "https://docs.rs/crate/pyo3/"
#documentation = "https://docs.rs/crate/pyo3/"
categories = ["api-bindings", "development-tools::ffi"] categories = ["api-bindings", "development-tools::ffi"]
license = "Apache-2.0" license = "Apache-2.0"
exclude = ["/.gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"] exclude = ["/.gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]

View File

@ -1,4 +1,4 @@
.PHONY: default test .PHONY: default test publish
ifndef PY ifndef PY
PY := $(word 2, $(subst ., ,$(shell python --version 2>&1))) PY := $(word 2, $(subst ., ,$(shell python --version 2>&1)))
@ -20,3 +20,8 @@ test:
pip install tox pip install tox
cd examples/word-count && tox cd examples/word-count && tox
cd examples/rustapi_module && tox cd examples/rustapi_module && tox
publish:
cargo publish --manifest-path pyo3-derive-backend/Cargo.toml
cargo publish --manifest-path pyo3cls/Cargo.toml
cargo publish