1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-pyclipper
7 SDESC[py310]= Cython wrapper for the AJ Clipper library (3.10)
8 SDESC[v11]= Cython wrapper for the AJ Clipper library (3.11)
9 HOMEPAGE= https://github.com/greginvm/pyclipper
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/p/pyclipper
14 DISTFILE[1]= pyclipper-1.3.0.post4.tar.gz:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[v11]= PY310=OFF PY311=ON
26 DISTNAME= pyclipper-1.3.0.post4
30 [PY310].BUILDRUN_DEPENDS_ON= python-Cython:single:py310
31 python-setuptools-scm:single:py310
32 [PY310].USES_ON= python:py310,sutools
34 [PY311].BUILDRUN_DEPENDS_ON= python-Cython:single:v11
35 python-setuptools-scm:single:v11
36 [PY311].USES_ON= python:v11,sutools
38 [FILE:2443:descriptions/desc.single]
42 Pyclipper is a Cython wrapper exposing public functions and classes of
43 the C++ translation of the `Angus Johnson's Clipper library (ver.
44 6.4.2) <http://www.angusj.com/delphi/clipper.php>`__.
46 Pyclipper releases were tested with Python 2.7 and 3.4 on Linux (Ubuntu
47 14.04, x64) and Windows (8.1, x64).
49 Source code is available on
50 [GitHub]. The package is published on
56 Clipper - an open source freeware library for clipping and
57 offsetting lines and polygons.
59 The Clipper library performs line & polygon clipping -
60 intersection, union, difference & exclusive-or, and line &
61 polygon offsetting. The library is based on Vatti's clipping
64 \ [Angus Johnson's Clipper
73 Cython dependency is optional. Cpp sources generated with Cython are
74 available in releases.
76 Note on using the ``setup.py``:
78 ``setup.py operates in 2 modes that are based on the presence of the
79 dev`` file in the root of the project.
81 - When dev is **present**, Cython will be used to compile the ``.pyx``
82 sources. This is the *development mode* (as you get it in the git
84 - When dev is **absent**, C/C++ compiler will be used to compile the
85 ``.cpp`` sources (that were prepared in in the development mode).
86 This is the distribution mode (as you get it on PyPI).
88 This way the package can be used without or with an incompatible version
91 The idea comes from [Matt Shannon's bandmat
101 pip install pyclipper
109 Clone the repository:
113 git clone git@github.com:fonttools/pyclipper.git
120 python setup.py install
123 After every modification of ``.pyx`` files compile with Cython:
127 python setup.py build_ext --inplace
130 Clippers' preprocessor directives
131 ---------------------------------
132 Clipper can be compiled with the following preprocessor directives:
133 use_int32, use_xyz, use_lines and use_deprecated.
134 Among these the use_int32 and use_lines can be used with Pyclipper.
136 - use_int32 - when enabled 32bit ints are used instead of 64bit ints. This
137 improve performance but coordinate values are limited to the range +/-
138 46340. In Pyclipper this directive is **disabled** by default.
142 b73b19d2a1b895edcacaf4acb441e13e99b9e5fd53b9c0dfd2e1326e2bf68a7a 134436 pyclipper-1.3.0.post4.tar.gz