Small tooling fixes
This commit is contained in:
parent
234e2c6998
commit
da0d6eeb5d
|
@ -12,6 +12,7 @@ dist/
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
.hypothesis/
|
.hypothesis/
|
||||||
.eggs/
|
.eggs/
|
||||||
|
venv*
|
||||||
|
|
||||||
*.so
|
*.so
|
||||||
*.out
|
*.out
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue