Skip to content

Commit

Permalink
Small tooling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Nov 2, 2018
1 parent 234e2c6 commit da0d6ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dist/
.mypy_cache/
.hypothesis/
.eggs/
venv*

*.so
*.out
Expand Down
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: default test
.PHONY: default test publish

ifndef PY
PY := $(word 2, $(subst ., ,$(shell python --version 2>&1)))
Expand All @@ -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

0 comments on commit da0d6ee

Please sign in to comment.