since we moved the extension module to an internal pyclipper._pyclipper submodule, setting SCALING_FACTOR on the parent pyclipper package won't work any more. We may as well remove the deprecation warnings altogether since they have been there for long time now.
Calling `Execute` on an empty `Pyclipper` instance would silently pass
without exception in previous pyclipper 1.0.7 with Clipper lib version 6.2.1.
Now, the `Clipper::Execute` method returns unsuccessful if called before any
`AddPath` or `AddPaths`, so pyclipper duly raises an exception.
There were no changes in the ABI of the functions wrapped in pyclipper,
hence no major changes were performed here. Clipper.Execute now fails if
called after clear, and this brought changes to the test suite.
* Update embedded Clipper version
* Remove execution permissions from Clipper files
* Closes#10
sha256:
pyclipper/clipper.cpp:
5c642a3668311701f72572443aa42c1a981edb037298efc015166d9d90be0755
pyclipper/clipper.hpp:
734eba9dc9d399089b2b467017074bd24728a1b9e64c7429e827806ed10e54cc
* add matthew-brett/multibuild as git submodule
* add .travis.yml file
* add config.sh file with run_tests function to invoke py.test command
print python version and number of bits (32 vs 64) before running the tests,
just to be sure...
* test_pyclipper.py: define 'integer_types' as (int, long) on PY2 and int on PY3
* setup.cfg: default to sdist --formats=zip as it's more portable
* .travis.yml: add deploy section to upload sdist and wheel to Github Releases on tags
* .travis.yml: commented out 'deploy' stage; greginvm needs to replace it using his authentication details
* appveyor: run tests and build wheels on Windows Python 2.7, 3.4 and 3.5 (32 and 64 bit)
We use Olivier Grisel (ogrisel) batch script to configure environment
variables to use the correct MSVC C++ compilers when building the
extension module.
https://github.com/ogrisel/python-appveyor-demo
* .appveyor.yml: add deploy section for uploading wheels to Github Releases on tags
* .appveyor: comment out deploy section; to be replaced by greginvm's auth_token
* .travis.yml: add Python 3.3 (Linux and OS X) to the matrix
* .appveyor.yml: add Windows Python 3.3 (32 and 64 bit) to the matrix
Removed test which tested the behavior of SCALING_FACTOR and added tests which test whether the appropriate warnings are raised when SCALING_FACTOR is set to a value different from 1.