cleanup
This commit is contained in:
parent
8a295793a0
commit
45361c3fc8
20
CHANGELOG.md
20
CHANGELOG.md
|
@ -1,20 +0,0 @@
|
||||||
# Change Log
|
|
||||||
|
|
||||||
## [Unreleased]
|
|
||||||
- Added `pub` modifier to `py_class!` syntax: `py_class!(pub class ClassName |py| ...)`
|
|
||||||
- Changed `obj.extract::<Vec<T>>(py)` to work with any object implementing the sequence protocol; not just lists.
|
|
||||||
- Added the `buffer` module, which allows safe access to the [buffer protocol](https://docs.python.org/3/c-api/buffer.html).
|
|
||||||
This allows zero-copy access to numpy arrays.
|
|
||||||
- When building with `--feature nightly`, `extract::<Vec<PrimitiveType>>` will try to use the buffer protocol
|
|
||||||
before falling back to the sequence protocol.
|
|
||||||
- [Added support for optional parameters][81] to `py_argparse!`, `py_fn!` and `py_class!` macros. (PR by [@Luthaf])
|
|
||||||
|
|
||||||
Example: `py_fn!(py, function(i: i32 = 0))`
|
|
||||||
|
|
||||||
[Unreleased]: https://github.com/dgrunwald/rust-cpython/compare/0.1.0...HEAD
|
|
||||||
[81]: https://github.com/dgrunwald/rust-cpython/pull/81
|
|
||||||
[@Luthaf]: https://github.com/Luthaf
|
|
||||||
|
|
||||||
## 0.1.0 - 2016-12-17
|
|
||||||
- First release that works on stable Rust.
|
|
||||||
|
|
21
appveyor.yml
21
appveyor.yml
|
@ -1,21 +0,0 @@
|
||||||
version: 0.0.{build}
|
|
||||||
environment:
|
|
||||||
TARGET: x86_64-pc-windows-msvc
|
|
||||||
# matrix:
|
|
||||||
# - TARGET: x86_64-pc-windows-msvc
|
|
||||||
# PY: 3
|
|
||||||
# PYTHONPATH: C:\Python34-x64
|
|
||||||
# FEATURES: python3-sys
|
|
||||||
install:
|
|
||||||
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.msi"
|
|
||||||
- start /wait msiexec /i rust-nightly-%TARGET%.msi INSTALLDIR="%CD%\rust-nightly-%TARGET%" /quiet /qn /norestart
|
|
||||||
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
|
|
||||||
- set PATH=%PATH%;%CD%/rust-nightly-%TARGET%/bin
|
|
||||||
- SET PATH=%PYTHONPATH%;%PATH%
|
|
||||||
- rustc -V
|
|
||||||
- cargo -V
|
|
||||||
- python --version
|
|
||||||
build_script:
|
|
||||||
- set PATH=C:\Python34-x64;%PATH%&& cargo build --verbose --features python3-sys --no-default-features
|
|
||||||
test_script:
|
|
||||||
- set PATH=C:\Python34-x64;%PATH%&& cargo test --verbose --features python3-sys --no-default-features
|
|
Loading…
Reference in New Issue