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[py39]= Cython wrapper for the AJ Clipper library (3.9)
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.post3.tar.gz:main
19 OPTIONS_AVAILABLE= PY39 PY310
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY39=OFF PY310=ON
22 VOPTS[py39]= PY39=ON PY310=OFF
24 DISTNAME= pyclipper-1.3.0.post3
28 [PY39].BUILDRUN_DEPENDS_ON= python-Cython:single:py39
29 python-setuptools-scm:single:py39
30 [PY39].USES_ON= python:py39,sutools
32 [PY310].BUILDRUN_DEPENDS_ON= python-Cython:single:py310
33 python-setuptools-scm:single:py310
34 [PY310].USES_ON= python:py310,sutools
36 [FILE:2443:descriptions/desc.single]
40 Pyclipper is a Cython wrapper exposing public functions and classes of
41 the C++ translation of the `Angus Johnson's Clipper library (ver.
42 6.4.2) <http://www.angusj.com/delphi/clipper.php>`__.
44 Pyclipper releases were tested with Python 2.7 and 3.4 on Linux (Ubuntu
45 14.04, x64) and Windows (8.1, x64).
47 Source code is available on
48 [GitHub]. The package is published on
54 Clipper - an open source freeware library for clipping and
55 offsetting lines and polygons.
57 The Clipper library performs line & polygon clipping -
58 intersection, union, difference & exclusive-or, and line &
59 polygon offsetting. The library is based on Vatti's clipping
62 \ [Angus Johnson's Clipper
71 Cython dependency is optional. Cpp sources generated with Cython are
72 available in releases.
74 Note on using the ``setup.py``:
76 ``setup.py operates in 2 modes that are based on the presence of the
77 dev`` file in the root of the project.
79 - When dev is **present**, Cython will be used to compile the ``.pyx``
80 sources. This is the *development mode* (as you get it in the git
82 - When dev is **absent**, C/C++ compiler will be used to compile the
83 ``.cpp`` sources (that were prepared in in the development mode).
84 This is the distribution mode (as you get it on PyPI).
86 This way the package can be used without or with an incompatible version
89 The idea comes from [Matt Shannon's bandmat
107 Clone the repository:
111 git clone git@github.com:fonttools/pyclipper.git
118 python setup.py install
121 After every modification of ``.pyx`` files compile with Cython:
125 python setup.py build_ext --inplace
128 Clippers' preprocessor directives
129 ---------------------------------
130 Clipper can be compiled with the following preprocessor directives:
131 use_int32, use_xyz, use_lines and use_deprecated.
132 Among these the use_int32 and use_lines can be used with Pyclipper.
134 - use_int32 - when enabled 32bit ints are used instead of 64bit ints. This
135 improve performance but coordinate values are limited to the range +/-
136 46340. In Pyclipper this directive is **disabled** by default.
140 639fbc55569b94487f89261b1656e3e655d06888a582218c5432c426705d1f6f 134300 pyclipper-1.3.0.post3.tar.gz