From da0d6eeb5d743a0fcc5b48c9a6eea90a743b5dfa Mon Sep 17 00:00:00 2001 From: konstin Date: Fri, 2 Nov 2018 22:32:18 +0100 Subject: [PATCH] Small tooling fixes --- .gitignore | 1 + Cargo.toml | 3 +-- Makefile | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2d1018bf..2a2afe12 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ dist/ .mypy_cache/ .hypothesis/ .eggs/ +venv* *.so *.out diff --git a/Cargo.toml b/Cargo.toml index 4e7d6bf6..42e592ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,7 @@ readme = "README.md" keywords = ["pyo3", "python", "cpython", "ffi"] homepage = "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"] license = "Apache-2.0" exclude = ["/.gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"] diff --git a/Makefile b/Makefile index 6fa2029f..31814154 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: default test +.PHONY: default test publish ifndef PY PY := $(word 2, $(subst ., ,$(shell python --version 2>&1))) @@ -20,3 +20,8 @@ test: pip install tox cd examples/word-count && 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