Ravenports generated: 25 Jul 2022 23:38
[ravenports.git] / bucket_AF / python-pyclipper
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-pyclipper
4 VERSION=                1.3.0.post3
5 KEYWORDS=               python
6 VARIANTS=               py39 py310
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]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPI/p/pyclipper
14 DISTFILE[1]=            pyclipper-1.3.0.post3.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[py310]=           single
17 SPKGS[py39]=            single
18
19 OPTIONS_AVAILABLE=      PY39 PY310
20 OPTIONS_STANDARD=       none
21 VOPTS[py310]=           PY39=OFF PY310=ON
22 VOPTS[py39]=            PY39=ON PY310=OFF
23
24 DISTNAME=               pyclipper-1.3.0.post3
25
26 GENERATED=              yes
27
28 [PY39].BUILDRUN_DEPENDS_ON=             python-Cython:single:py39
29                                         python-setuptools-scm:single:py39
30 [PY39].USES_ON=                         python:py39,sutools
31
32 [PY310].BUILDRUN_DEPENDS_ON=            python-Cython:single:py310
33                                         python-setuptools-scm:single:py310
34 [PY310].USES_ON=                        python:py310,sutools
35
36 [FILE:2443:descriptions/desc.single]
37 About
38 =====
39
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>`__.
43
44 Pyclipper releases were tested with Python 2.7 and 3.4 on Linux (Ubuntu
45 14.04, x64) and Windows (8.1, x64).
46
47 Source code is available on
48 [GitHub]. The package is published on 
49 [PyPI].
50
51 About Clipper
52 -------------
53
54         Clipper - an open source freeware library for clipping and
55         offsetting lines and polygons.
56
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
60         algorithm.
61
62         \ [Angus Johnson's Clipper
63         library]\ 
64
65 Install
66 =======
67
68 Dependencies
69 ------------
70
71 Cython dependency is optional. Cpp sources generated with Cython are
72 available in releases.
73
74 Note on using the ``setup.py``:
75
76 ``setup.py operates in 2 modes that are based on the presence of the
77 dev`` file in the root of the project.
78
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
81    repository).
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).
85
86 This way the package can be used without or with an incompatible version
87 of Cython.
88
89 The idea comes from [Matt Shannon's bandmat
90 library].
91
92 From PyPI
93 ---------
94
95 Cython not required.
96
97 ::
98
99         pip install pyclipper
100         
101
102 From source
103 -----------
104
105 Cython required.
106
107 Clone the repository:
108
109 ::
110
111         git clone git@github.com:fonttools/pyclipper.git
112         
113
114 Install:
115
116 ::
117
118         python setup.py install
119         
120
121 After every modification of ``.pyx`` files compile with Cython:
122
123 ::
124
125         python setup.py build_ext --inplace
126         
127
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.
133
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.
137
138
139 [FILE:107:distinfo]
140 639fbc55569b94487f89261b1656e3e655d06888a582218c5432c426705d1f6f       134300 pyclipper-1.3.0.post3.tar.gz
141