PyOpenGL-glut-binaries 1.0.0__py3-none-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ This is a Win32 version of the GLE library
2
+ compiled as a shared library (DLL) for use with
3
+ e.g. Python's ctypes foreign-function interface.
4
+
5
+ To install, copy the file gle32.dll to your system32
6
+ directory.
@@ -0,0 +1,27 @@
1
+
2
+ Freeglut Copyright
3
+ ------------------
4
+
5
+ Freeglut code without an explicit copyright is covered by the following
6
+ copyright:
7
+
8
+ Copyright (c) 1999-2000 Pawel W. Olszta. All Rights Reserved.
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies or substantial portions of the Software.
14
+
15
+ The above copyright notice and this permission notice shall be included in
16
+ all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21
+ PAWEL W. OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
22
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
+
25
+ Except as contained in this notice, the name of Pawel W. Olszta shall not be
26
+ used in advertising or otherwise to promote the sale, use or other dealings
27
+ in this Software without prior written authorization from Pawel W. Olszta.
@@ -0,0 +1,106 @@
1
+ freeglut 3.0.0-1.mp for MSVC
2
+
3
+ This package contains freeglut import libraries, headers, and Windows DLLs.
4
+ These allow 32 and 64 bit GLUT applications to be compiled on Windows using
5
+ Microsoft Visual C++.
6
+
7
+ For more information on freeglut, visit http://freeglut.sourceforge.net/.
8
+
9
+
10
+ Installation
11
+
12
+ Create a folder on your PC which is readable by all users, for example
13
+ �C:\Program Files\Common Files\MSVC\freeglut\� on a typical Windows system. Copy
14
+ the �lib\� and �include\� folders from this zip archive to that location.
15
+
16
+ The appropriate freeglut DLL can either be placed in the same folder as your
17
+ application, or can be installed in a system-wide folder which appears in your
18
+ %PATH% environment variable. Be careful not to mix the 32 bit DLL up with the 64
19
+ bit DLL, as they are not interchangeable.
20
+
21
+
22
+ Compiling 32 bit Applications
23
+
24
+ To create a 32 bit freeglut application, create a new Win32 C++ project in MSVC.
25
+ From the �Win32 Application Wizard�, choose a �Windows application�, check the
26
+ �Empty project� box, and submit.
27
+
28
+ You�ll now need to configure the compiler and linker settings. Open up the
29
+ project properties, and select �All Configurations� (this is necessary to ensure
30
+ our changes are applied for both debug and release builds). Open up the
31
+ �general� section under �C/C++�, and configure the �include\� folder you created
32
+ above as an �Additional Include Directory�. If you have more than one GLUT
33
+ package which contains a �glut.h� file, it�s important to ensure that the
34
+ freeglut include folder appears above all other GLUT include folders.
35
+
36
+ Now open up the �general� section under �Linker�, and configure the �lib\�
37
+ folder you created above as an �Additional Library Directory�. A freeglut
38
+ application depends on the import libraries �freeglut.lib� and �opengl32.lib�,
39
+ which can be configured under the �Input� section. However, it shouldn�t be
40
+ necessary to explicitly state these dependencies, since the freeglut headers
41
+ handle this for you. Now open the �Advanced� section, and enter �mainCRTStartup�
42
+ as the �Entry Point� for your application. This is necessary because GLUT
43
+ applications use �main� as the application entry point, not �WinMain��without it
44
+ you�ll get an undefined reference when you try to link your application.
45
+
46
+ That�s all of your project properties configured, so you can now add source
47
+ files to your project and build the application. If you want your application to
48
+ be compatible with GLUT, you should �#include <GL/glut.h>�. If you want to use
49
+ freeglut specific extensions, you should �#include <GL/freeglut.h>� instead.
50
+
51
+ Don�t forget to either include the freeglut DLL when distributing applications,
52
+ or provide your users with some method of obtaining it if they don�t already
53
+ have it!
54
+
55
+
56
+ Compiling 64 bit Applications
57
+
58
+ Building 64 bit applications is almost identical to building 32 bit applications.
59
+ When you use the configuration manager to add the x64 platform, it�s easiest to
60
+ copy the settings from the Win32 platform. If you do so, it�s then only necessary
61
+ to change the �Additional Library Directories� configuration so that it
62
+ references the directory containing the 64 bit import library rather
63
+ than the 32 bit one.
64
+
65
+
66
+ Problems?
67
+
68
+ If you have problems using this package (compiler / linker errors etc.), please
69
+ check that you have followed all of the steps in this readme file correctly.
70
+ Almost all of the problems which are reported with these packages are due to
71
+ missing a step or not doing it correctly, for example trying to build a 32 bit
72
+ app against the 64 bit import library. If you have followed all of the steps
73
+ correctly but your application still fails to build, try building a very simple
74
+ but functional program (the example at
75
+ http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/ works fine
76
+ with MSVC). A lot of people try to build very complex applications after
77
+ installing these packages, and often the error is with the application code or
78
+ other library dependencies rather than freeglut.
79
+
80
+ If you still can�t get it working after trying to compile a simple application,
81
+ then please get in touch via http://www.transmissionzero.co.uk/contact/,
82
+ providing as much detail as you can. Please don�t complain to the freeglut guys
83
+ unless you�re sure it�s a freeglut bug, and have reproduced the issue after
84
+ compiling freeglut from the latest SVN version�if that�s still the case, I�m
85
+ sure they would appreciate a bug report or a patch.
86
+
87
+
88
+ Changelog
89
+
90
+ 2015�07�22: Release 3.0.0-2.mp
91
+
92
+ � Modified the freeglut_std.h file so that it doesn�t try to link against the
93
+ freeglutd.lib import library.
94
+
95
+ 2015�03�15: Release 3.0.0-1.mp
96
+
97
+ � First 3.0.0 MSVC release. I�ve built the package using Visual Studio 2013,
98
+ and the only change I�ve made is to the DLL version resource�I�ve changed
99
+ the description so that my MinGW and MSVC builds are distinguishable from
100
+ each other (and other builds) using Windows Explorer.
101
+
102
+
103
+ Transmission Zero
104
+ 2015�07�22
105
+
106
+ http://www.transmissionzero.co.uk/
@@ -0,0 +1,9 @@
1
+
2
+ Original Author & Maintainer:
3
+ Linas Vepstas <linas@linas.org> wrote virtually all of this
4
+
5
+ Contributors:
6
+ Mark Kilgard <mjk@nvidia.com> formatted the man pages
7
+ Jonas Lindemann <jonas.lindemann@bolina.hsb.se> MS Visual C project files
8
+ John A. Boyd Jr.<jaboydjr@netwalk.com> fix to gle.spec
9
+
@@ -0,0 +1,368 @@
1
+
2
+ The different parts of this distribution have two different software
3
+ licenses that govern thier use. Both licenses pass the common definition
4
+ of 'open source license' as commonly defined (e.g. at http://www.opensource.org).
5
+ The licenses, although different, are compatible with each other.
6
+
7
+ The applicable licenses are:
8
+
9
+ examples, man pages, documentation: Artistic License
10
+ A copy of this license is in COPYING.artistic
11
+
12
+ source code: IBM standard example source code license (free use,
13
+ free distribution, free modification, disclaimer of
14
+ warrenty) A copy of this license is in COPYING.src
15
+ The file CERTOR.script ('certificate of originality')
16
+ documents the provenance of this code.
17
+
18
+ --------------------------------------------------------------------
19
+ Alternately, at your choosing, you may choose to accept the source
20
+ code and the man pages/documentation under the GPL: the GNU General
21
+ Public License version 2, as given below.
22
+
23
+ If you use this code, you must accept either the licenses above, or
24
+ the GPL.
25
+ --------------------------------------------------------------------
26
+
27
+
28
+ GNU GENERAL PUBLIC LICENSE
29
+ Version 2, June 1991
30
+
31
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
32
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33
+ Everyone is permitted to copy and distribute verbatim copies
34
+ of this license document, but changing it is not allowed.
35
+
36
+ Preamble
37
+
38
+ The licenses for most software are designed to take away your
39
+ freedom to share and change it. By contrast, the GNU General Public
40
+ License is intended to guarantee your freedom to share and change free
41
+ software--to make sure the software is free for all its users. This
42
+ General Public License applies to most of the Free Software
43
+ Foundation's software and to any other program whose authors commit to
44
+ using it. (Some other Free Software Foundation software is covered by
45
+ the GNU Library General Public License instead.) You can apply it to
46
+ your programs, too.
47
+
48
+ When we speak of free software, we are referring to freedom, not
49
+ price. Our General Public Licenses are designed to make sure that you
50
+ have the freedom to distribute copies of free software (and charge for
51
+ this service if you wish), that you receive source code or can get it
52
+ if you want it, that you can change the software or use pieces of it
53
+ in new free programs; and that you know you can do these things.
54
+
55
+ To protect your rights, we need to make restrictions that forbid
56
+ anyone to deny you these rights or to ask you to surrender the rights.
57
+ These restrictions translate to certain responsibilities for you if you
58
+ distribute copies of the software, or if you modify it.
59
+
60
+ For example, if you distribute copies of such a program, whether
61
+ gratis or for a fee, you must give the recipients all the rights that
62
+ you have. You must make sure that they, too, receive or can get the
63
+ source code. And you must show them these terms so they know their
64
+ rights.
65
+
66
+ We protect your rights with two steps: (1) copyright the software, and
67
+ (2) offer you this license which gives you legal permission to copy,
68
+ distribute and/or modify the software.
69
+
70
+ Also, for each author's protection and ours, we want to make certain
71
+ that everyone understands that there is no warranty for this free
72
+ software. If the software is modified by someone else and passed on, we
73
+ want its recipients to know that what they have is not the original, so
74
+ that any problems introduced by others will not reflect on the original
75
+ authors' reputations.
76
+
77
+ Finally, any free program is threatened constantly by software
78
+ patents. We wish to avoid the danger that redistributors of a free
79
+ program will individually obtain patent licenses, in effect making the
80
+ program proprietary. To prevent this, we have made it clear that any
81
+ patent must be licensed for everyone's free use or not licensed at all.
82
+
83
+ The precise terms and conditions for copying, distribution and
84
+ modification follow.
85
+
86
+ GNU GENERAL PUBLIC LICENSE
87
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
88
+
89
+ 0. This License applies to any program or other work which contains
90
+ a notice placed by the copyright holder saying it may be distributed
91
+ under the terms of this General Public License. The "Program", below,
92
+ refers to any such program or work, and a "work based on the Program"
93
+ means either the Program or any derivative work under copyright law:
94
+ that is to say, a work containing the Program or a portion of it,
95
+ either verbatim or with modifications and/or translated into another
96
+ language. (Hereinafter, translation is included without limitation in
97
+ the term "modification".) Each licensee is addressed as "you".
98
+
99
+ Activities other than copying, distribution and modification are not
100
+ covered by this License; they are outside its scope. The act of
101
+ running the Program is not restricted, and the output from the Program
102
+ is covered only if its contents constitute a work based on the
103
+ Program (independent of having been made by running the Program).
104
+ Whether that is true depends on what the Program does.
105
+
106
+ 1. You may copy and distribute verbatim copies of the Program's
107
+ source code as you receive it, in any medium, provided that you
108
+ conspicuously and appropriately publish on each copy an appropriate
109
+ copyright notice and disclaimer of warranty; keep intact all the
110
+ notices that refer to this License and to the absence of any warranty;
111
+ and give any other recipients of the Program a copy of this License
112
+ along with the Program.
113
+
114
+ You may charge a fee for the physical act of transferring a copy, and
115
+ you may at your option offer warranty protection in exchange for a fee.
116
+
117
+ 2. You may modify your copy or copies of the Program or any portion
118
+ of it, thus forming a work based on the Program, and copy and
119
+ distribute such modifications or work under the terms of Section 1
120
+ above, provided that you also meet all of these conditions:
121
+
122
+ a) You must cause the modified files to carry prominent notices
123
+ stating that you changed the files and the date of any change.
124
+
125
+ b) You must cause any work that you distribute or publish, that in
126
+ whole or in part contains or is derived from the Program or any
127
+ part thereof, to be licensed as a whole at no charge to all third
128
+ parties under the terms of this License.
129
+
130
+ c) If the modified program normally reads commands interactively
131
+ when run, you must cause it, when started running for such
132
+ interactive use in the most ordinary way, to print or display an
133
+ announcement including an appropriate copyright notice and a
134
+ notice that there is no warranty (or else, saying that you provide
135
+ a warranty) and that users may redistribute the program under
136
+ these conditions, and telling the user how to view a copy of this
137
+ License. (Exception: if the Program itself is interactive but
138
+ does not normally print such an announcement, your work based on
139
+ the Program is not required to print an announcement.)
140
+
141
+ These requirements apply to the modified work as a whole. If
142
+ identifiable sections of that work are not derived from the Program,
143
+ and can be reasonably considered independent and separate works in
144
+ themselves, then this License, and its terms, do not apply to those
145
+ sections when you distribute them as separate works. But when you
146
+ distribute the same sections as part of a whole which is a work based
147
+ on the Program, the distribution of the whole must be on the terms of
148
+ this License, whose permissions for other licensees extend to the
149
+ entire whole, and thus to each and every part regardless of who wrote it.
150
+
151
+ Thus, it is not the intent of this section to claim rights or contest
152
+ your rights to work written entirely by you; rather, the intent is to
153
+ exercise the right to control the distribution of derivative or
154
+ collective works based on the Program.
155
+
156
+ In addition, mere aggregation of another work not based on the Program
157
+ with the Program (or with a work based on the Program) on a volume of
158
+ a storage or distribution medium does not bring the other work under
159
+ the scope of this License.
160
+
161
+ 3. You may copy and distribute the Program (or a work based on it,
162
+ under Section 2) in object code or executable form under the terms of
163
+ Sections 1 and 2 above provided that you also do one of the following:
164
+
165
+ a) Accompany it with the complete corresponding machine-readable
166
+ source code, which must be distributed under the terms of Sections
167
+ 1 and 2 above on a medium customarily used for software interchange; or,
168
+
169
+ b) Accompany it with a written offer, valid for at least three
170
+ years, to give any third party, for a charge no more than your
171
+ cost of physically performing source distribution, a complete
172
+ machine-readable copy of the corresponding source code, to be
173
+ distributed under the terms of Sections 1 and 2 above on a medium
174
+ customarily used for software interchange; or,
175
+
176
+ c) Accompany it with the information you received as to the offer
177
+ to distribute corresponding source code. (This alternative is
178
+ allowed only for noncommercial distribution and only if you
179
+ received the program in object code or executable form with such
180
+ an offer, in accord with Subsection b above.)
181
+
182
+ The source code for a work means the preferred form of the work for
183
+ making modifications to it. For an executable work, complete source
184
+ code means all the source code for all modules it contains, plus any
185
+ associated interface definition files, plus the scripts used to
186
+ control compilation and installation of the executable. However, as a
187
+ special exception, the source code distributed need not include
188
+ anything that is normally distributed (in either source or binary
189
+ form) with the major components (compiler, kernel, and so on) of the
190
+ operating system on which the executable runs, unless that component
191
+ itself accompanies the executable.
192
+
193
+ If distribution of executable or object code is made by offering
194
+ access to copy from a designated place, then offering equivalent
195
+ access to copy the source code from the same place counts as
196
+ distribution of the source code, even though third parties are not
197
+ compelled to copy the source along with the object code.
198
+
199
+ 4. You may not copy, modify, sublicense, or distribute the Program
200
+ except as expressly provided under this License. Any attempt
201
+ otherwise to copy, modify, sublicense or distribute the Program is
202
+ void, and will automatically terminate your rights under this License.
203
+ However, parties who have received copies, or rights, from you under
204
+ this License will not have their licenses terminated so long as such
205
+ parties remain in full compliance.
206
+
207
+ 5. You are not required to accept this License, since you have not
208
+ signed it. However, nothing else grants you permission to modify or
209
+ distribute the Program or its derivative works. These actions are
210
+ prohibited by law if you do not accept this License. Therefore, by
211
+ modifying or distributing the Program (or any work based on the
212
+ Program), you indicate your acceptance of this License to do so, and
213
+ all its terms and conditions for copying, distributing or modifying
214
+ the Program or works based on it.
215
+
216
+ 6. Each time you redistribute the Program (or any work based on the
217
+ Program), the recipient automatically receives a license from the
218
+ original licensor to copy, distribute or modify the Program subject to
219
+ these terms and conditions. You may not impose any further
220
+ restrictions on the recipients' exercise of the rights granted herein.
221
+ You are not responsible for enforcing compliance by third parties to
222
+ this License.
223
+
224
+ 7. If, as a consequence of a court judgment or allegation of patent
225
+ infringement or for any other reason (not limited to patent issues),
226
+ conditions are imposed on you (whether by court order, agreement or
227
+ otherwise) that contradict the conditions of this License, they do not
228
+ excuse you from the conditions of this License. If you cannot
229
+ distribute so as to satisfy simultaneously your obligations under this
230
+ License and any other pertinent obligations, then as a consequence you
231
+ may not distribute the Program at all. For example, if a patent
232
+ license would not permit royalty-free redistribution of the Program by
233
+ all those who receive copies directly or indirectly through you, then
234
+ the only way you could satisfy both it and this License would be to
235
+ refrain entirely from distribution of the Program.
236
+
237
+ If any portion of this section is held invalid or unenforceable under
238
+ any particular circumstance, the balance of the section is intended to
239
+ apply and the section as a whole is intended to apply in other
240
+ circumstances.
241
+
242
+ It is not the purpose of this section to induce you to infringe any
243
+ patents or other property right claims or to contest validity of any
244
+ such claims; this section has the sole purpose of protecting the
245
+ integrity of the free software distribution system, which is
246
+ implemented by public license practices. Many people have made
247
+ generous contributions to the wide range of software distributed
248
+ through that system in reliance on consistent application of that
249
+ system; it is up to the author/donor to decide if he or she is willing
250
+ to distribute software through any other system and a licensee cannot
251
+ impose that choice.
252
+
253
+ This section is intended to make thoroughly clear what is believed to
254
+ be a consequence of the rest of this License.
255
+
256
+ 8. If the distribution and/or use of the Program is restricted in
257
+ certain countries either by patents or by copyrighted interfaces, the
258
+ original copyright holder who places the Program under this License
259
+ may add an explicit geographical distribution limitation excluding
260
+ those countries, so that distribution is permitted only in or among
261
+ countries not thus excluded. In such case, this License incorporates
262
+ the limitation as if written in the body of this License.
263
+
264
+ 9. The Free Software Foundation may publish revised and/or new versions
265
+ of the General Public License from time to time. Such new versions will
266
+ be similar in spirit to the present version, but may differ in detail to
267
+ address new problems or concerns.
268
+
269
+ Each version is given a distinguishing version number. If the Program
270
+ specifies a version number of this License which applies to it and "any
271
+ later version", you have the option of following the terms and conditions
272
+ either of that version or of any later version published by the Free
273
+ Software Foundation. If the Program does not specify a version number of
274
+ this License, you may choose any version ever published by the Free Software
275
+ Foundation.
276
+
277
+ 10. If you wish to incorporate parts of the Program into other free
278
+ programs whose distribution conditions are different, write to the author
279
+ to ask for permission. For software which is copyrighted by the Free
280
+ Software Foundation, write to the Free Software Foundation; we sometimes
281
+ make exceptions for this. Our decision will be guided by the two goals
282
+ of preserving the free status of all derivatives of our free software and
283
+ of promoting the sharing and reuse of software generally.
284
+
285
+ NO WARRANTY
286
+
287
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
288
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
289
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
290
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
291
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
292
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
293
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
294
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
295
+ REPAIR OR CORRECTION.
296
+
297
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
298
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
299
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
300
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
301
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
302
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
303
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
304
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
305
+ POSSIBILITY OF SUCH DAMAGES.
306
+
307
+ END OF TERMS AND CONDITIONS
308
+
309
+ How to Apply These Terms to Your New Programs
310
+
311
+ If you develop a new program, and you want it to be of the greatest
312
+ possible use to the public, the best way to achieve this is to make it
313
+ free software which everyone can redistribute and change under these terms.
314
+
315
+ To do so, attach the following notices to the program. It is safest
316
+ to attach them to the start of each source file to most effectively
317
+ convey the exclusion of warranty; and each file should have at least
318
+ the "copyright" line and a pointer to where the full notice is found.
319
+
320
+ <one line to give the program's name and a brief idea of what it does.>
321
+ Copyright (C) <year> <name of author>
322
+
323
+ This program is free software; you can redistribute it and/or modify
324
+ it under the terms of the GNU General Public License as published by
325
+ the Free Software Foundation; either version 2 of the License, or
326
+ (at your option) any later version.
327
+
328
+ This program is distributed in the hope that it will be useful,
329
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
330
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
331
+ GNU General Public License for more details.
332
+
333
+ You should have received a copy of the GNU General Public License
334
+ along with this program; if not, write to the Free Software
335
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
336
+
337
+
338
+ Also add information on how to contact you by electronic and paper mail.
339
+
340
+ If the program is interactive, make it output a short notice like this
341
+ when it starts in an interactive mode:
342
+
343
+ Gnomovision version 69, Copyright (C) year name of author
344
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
345
+ This is free software, and you are welcome to redistribute it
346
+ under certain conditions; type `show c' for details.
347
+
348
+ The hypothetical commands `show w' and `show c' should show the appropriate
349
+ parts of the General Public License. Of course, the commands you use may
350
+ be called something other than `show w' and `show c'; they could even be
351
+ mouse-clicks or menu items--whatever suits your program.
352
+
353
+ You should also get your employer (if you work as a programmer) or your
354
+ school, if any, to sign a "copyright disclaimer" for the program, if
355
+ necessary. Here is a sample; alter the names:
356
+
357
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
358
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
359
+
360
+ <signature of Ty Coon>, 1 April 1989
361
+ Ty Coon, President of Vice
362
+
363
+ This General Public License does not permit incorporating your program into
364
+ proprietary programs. If your program is a subroutine library, you may
365
+ consider it more useful to permit linking proprietary applications with the
366
+ library. If this is what you want to do, use the GNU Library General
367
+ Public License instead of this License.
368
+
@@ -0,0 +1,68 @@
1
+ The following agreement applies to the source code in this directory
2
+ only! It does *NOT* apply to the HTML documentation or to the demo
3
+ programs, or to other items distributed with this package!
4
+ ---------------------------------------------------------------------
5
+
6
+
7
+
8
+ SOFTWARE AGREEMENT
9
+
10
+ PLEASE READ THIS AGREEMENT CAREFULLY BEFORE INSTALLING OR USING THIS
11
+ SOFTWARE. IF YOU INSTALL OR USE THIS SOFTWARE, YOU AGREE TO THESE
12
+ TERMS.
13
+
14
+ This software is owned by International Business Machines Corporation
15
+ ("IBM"), or its subsidiaries or IBM's suppliers, and is copyrighted and
16
+ licensed, not sold. IBM retains title to the software, and grants you a
17
+ nonexclusive license for the software.
18
+
19
+ Under this license, you may:
20
+
21
+ 1) use the software on one or more machines at a time;
22
+ 2) make copies of the software for use or backup purposes within your
23
+ enterprise;
24
+ 3) modify this software and merge it with another program; and
25
+ 4) make copies of the original file you downloaded and distribute it,
26
+ provided that you transfer a copy of this license to the other party.
27
+ The other party agrees to these terms by its first use of this software.
28
+
29
+ You must reproduce the copyright notice and any other legend of
30
+ ownership on each copy or partial copy of the software.
31
+
32
+ This software, as provided by IBM, is only intended to assist in the
33
+ development of a working software program. The software may not function
34
+ as written: additional code is required. In addition, the software may
35
+ not compile and/or bind successfully as written.
36
+
37
+ IBM PROVIDES THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
38
+ EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES
39
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
40
+ AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD
41
+ ANY PART OF THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF
42
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IN NO EVENT, UNLESS
43
+ REQUIRED BY APPLICABLE LAW, SHALL IBM BE LIABLE TO YOU FOR DAMAGES,
44
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
45
+ ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT
46
+ NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES
47
+ SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO
48
+ OPERATE WITH ANY OTHER PROGRAMS), EVEN IF IBM HAS BEEN ADVISED IN
49
+ ADVANCE OF THE POSSIBILITY OF SUCH DAMAGES.
50
+
51
+ IBM does not warrant that the contents of the software will meet your
52
+ requirements, that the software is error-free or that the software does
53
+ not infringe on any intellectual property rights of any third party.
54
+
55
+ IBM may make improvements and/or changes in the software at any time.
56
+
57
+ Changes may or may not be made periodically to the information in the
58
+ software; these changes may be reported, for the software included
59
+ herein, in new editions.
60
+
61
+ References, if any, in the software to IBM products, programs, or
62
+ services do not imply that IBM intends to make these available in all
63
+ countries in which IBM operates. Any reference to an IBM licensed
64
+ program in the software is not intended to state or imply that only
65
+ IBM's licensed program may be used. Any functionally equivalent program
66
+ may be used.
67
+
68
+ The laws of New York State govern this agreement.
@@ -0,0 +1,58 @@
1
+ """Prebuilt Windows freeglut and GLE libraries for PyOpenGL.
2
+
3
+ ``OpenGL.GLUT`` and ``OpenGL.GLE`` wrap two C libraries that Windows does not
4
+ ship. This package carries builds of them, so that
5
+ ``pip install PyOpenGL[glut]`` is all a Windows user needs for either.
6
+
7
+ The only thing a caller wants from this module is where the files are:
8
+
9
+ >>> import os
10
+ >>> from pyopengl_glut_binaries import DLL_DIRECTORY
11
+ >>> os.path.isdir(DLL_DIRECTORY)
12
+ True
13
+
14
+ PyOpenGL reads that itself, in ``OpenGL.platform.ctypesloader``, and a library
15
+ the *system* provides still wins over these -- a user who installed their own
16
+ freeglut meant it. So nothing here needs calling; installing the package is the
17
+ whole of the interface.
18
+
19
+ Which file answers is PyOpenGL's decision: it asks for one exact name built
20
+ from the running interpreter's word size and the compiler generation, which is
21
+ why there are six builds of each library rather than one. See
22
+ :data:`BUILDS` for what is here.
23
+ """
24
+
25
+ import os
26
+
27
+ __version__ = '1.0.0'
28
+
29
+ __all__ = ['BUILDS', 'DLL_DIRECTORY', 'LIBRARIES', '__version__']
30
+
31
+ #: Where the libraries are, as an absolute path.
32
+ #:
33
+ #: A directory rather than a list of files, because the caller composes a name
34
+ #: from its own word size and looks for that one.
35
+ DLL_DIRECTORY = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'DLLS')
36
+
37
+ #: The libraries carried here, and where each came from.
38
+ LIBRARIES = {
39
+ 'freeglut': (
40
+ "freeglut 3.0.0-1.mp for MSVC -- Martin Payne's build, since freeglut "
41
+ 'upstream publishes source rather than Windows binaries. Not the '
42
+ 'original GLUT: these export glutMainLoopEvent and the rest of '
43
+ "freeglut's additions."
44
+ ),
45
+ 'gle': 'the GLE tubing and extrusion library, built as a Windows DLL',
46
+ }
47
+
48
+ #: The word sizes and compiler generations each library is built for.
49
+ #:
50
+ #: ``vc9`` is Visual Studio 2008, ``vc10`` is 2010 and ``vc14`` is 2015 and
51
+ #: later. PyOpenGL asks for the generation matching the interpreter that is
52
+ #: running, so all six of each are here rather than only the newest.
53
+ BUILDS = tuple(
54
+ '%s%s.%s' % (library, size, vc)
55
+ for library in ('freeglut', 'gle')
56
+ for size in ('32', '64')
57
+ for vc in ('vc9', 'vc10', 'vc14')
58
+ )
File without changes
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.4
2
+ Name: PyOpenGL-glut-binaries
3
+ Version: 1.0.0
4
+ Summary: Prebuilt Windows freeglut and GLE libraries for PyOpenGL
5
+ Author-email: "Mike C. Fletcher" <mcfletch@vrplumber.com>
6
+ License-Expression: BSD-3-Clause
7
+ Project-URL: Homepage, https://github.com/mcfletch/pyopengl-glut-binaries
8
+ Project-URL: Repository, https://github.com/mcfletch/pyopengl-glut-binaries
9
+ Project-URL: Issues, https://github.com/mcfletch/pyopengl/issues
10
+ Keywords: OpenGL,GLUT,freeglut,GLE,PyOpenGL,Windows
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: Microsoft :: Windows
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
17
+ Requires-Python: >=3.9
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Provides-Extra: test
21
+ Requires-Dist: pytest; extra == "test"
22
+ Provides-Extra: dev
23
+ Requires-Dist: pyopengl-glut-binaries[test]; extra == "dev"
24
+ Requires-Dist: mypy; extra == "dev"
25
+ Requires-Dist: ruff; extra == "dev"
26
+ Requires-Dist: build; extra == "dev"
27
+ Dynamic: license-file
28
+
29
+ # PyOpenGL-glut-binaries
30
+
31
+ Prebuilt Windows freeglut and GLE libraries for [PyOpenGL](
32
+ https://github.com/mcfletch/pyopengl).
33
+
34
+ `OpenGL.GLUT` and `OpenGL.GLE` wrap two C libraries that Windows does not
35
+ ship. This distribution carries builds of both, so a Windows user gets them
36
+ by asking:
37
+
38
+ ```
39
+ pip install PyOpenGL[glut]
40
+ ```
41
+
42
+ Nothing to call and nothing to configure: PyOpenGL finds the directory itself.
43
+ A freeglut the *system* provides still wins over these, because a user who
44
+ installed their own meant it.
45
+
46
+ ## Why it is a package of its own
47
+
48
+ The same builds shipped inside PyOpenGL itself, in every wheel on every
49
+ platform, so a Linux server rendering headlessly through EGL downloaded six
50
+ freeglut builds it could never load. As a separate, platform-tagged
51
+ distribution they reach the machines that can use them and no others, and a
52
+ scanner that objects to a decade-old vendored binary objects to a package only
53
+ GLUT users install rather than to PyOpenGL.
54
+
55
+ ## What is here
56
+
57
+ Six builds of each library, because PyOpenGL asks for one exact name composed
58
+ from the running interpreter's word size and compiler generation:
59
+
60
+ | | 32-bit | 64-bit |
61
+ |---|---|---|
62
+ | **vc9** (Visual Studio 2008) | `freeglut32.vc9.dll`, `gle32.vc9.dll` | `freeglut64.vc9.dll`, `gle64.vc9.dll` |
63
+ | **vc10** (Visual Studio 2010) | `freeglut32.vc10.dll`, `gle32.vc10.dll` | `freeglut64.vc10.dll`, `gle64.vc10.dll` |
64
+ | **vc14** (Visual Studio 2015 and later) | `freeglut32.vc14.dll`, `gle32.vc14.dll` | `freeglut64.vc14.dll`, `gle64.vc14.dll` |
65
+
66
+ Both the `win32` and the `win_amd64` wheel carry all twelve, along with the
67
+ upstream licence and readme files. The word sizes are not split between the
68
+ two wheels: a split would halve the download and is a change to make on its
69
+ own, where a regression in it is attributable.
70
+
71
+ ## Using it directly
72
+
73
+ PyOpenGL is the intended caller, but the path is public:
74
+
75
+ ```python
76
+ from pyopengl_glut_binaries import DLL_DIRECTORY
77
+ ```
78
+
79
+ `BUILDS` lists the base names above and `LIBRARIES` says where each library
80
+ came from.
81
+
82
+ ## Licensing
83
+
84
+ The packaging is BSD-licensed; see `LICENSE`. The libraries are third-party
85
+ works under their own terms, which ship beside them in
86
+ `src/pyopengl_glut_binaries/DLLS/`:
87
+
88
+ - **freeglut** — 3.0.0-1.mp for MSVC, Martin Payne's build.
89
+ [freeglut](http://freeglut.sourceforge.net/) upstream publishes source
90
+ rather than Windows binaries. X-Consortium licence, in
91
+ `freeglut_COPYING.txt`.
92
+ - **GLE** — the tubing and extrusion library, built as a Windows DLL. See
93
+ `gle_COPYING`, `gle_COPYING.src` and `gle_AUTHORS`.
94
+
95
+ ## Releases
96
+
97
+ A push to `main` runs the tests; if they are green and `__version__` in
98
+ `src/pyopengl_glut_binaries/__init__.py` is not already on PyPI, the wheels and
99
+ the sdist are built and published. Bumping the version is what cuts a release.
100
+
101
+ Issues go to [the PyOpenGL tracker](https://github.com/mcfletch/pyopengl/issues).
@@ -0,0 +1,25 @@
1
+ pyopengl_glut_binaries/__init__.py,sha256=ZK1AXK1opMBh5jZlyWxM6QR_adhhRoPmvBxRUjDL-PY,2226
2
+ pyopengl_glut_binaries/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ pyopengl_glut_binaries/DLLS/GLE_WIN32_README.txt,sha256=p9-bH8x01N31HKB3TMlPANxVFGBS--CGFNug6dpo-Ic,209
4
+ pyopengl_glut_binaries/DLLS/freeglut32.vc10.dll,sha256=b5om0pieTfQNlI31ZaZh9X_h-oCAHJw65c095KrcZr4,218112
5
+ pyopengl_glut_binaries/DLLS/freeglut32.vc14.dll,sha256=ycAKTqm5_s3K6B9vrK8n40lxTVb-dkDOnDftOIQaC4c,199680
6
+ pyopengl_glut_binaries/DLLS/freeglut32.vc9.dll,sha256=W6jGLik7vccGSoYHmSBhxVJ4WWMAE2eF48EajHuwcj8,217600
7
+ pyopengl_glut_binaries/DLLS/freeglut64.vc10.dll,sha256=ATVKuxn3Em75RhztMZ-p-gryE890Fpmkp_GBPcQ5GOk,256000
8
+ pyopengl_glut_binaries/DLLS/freeglut64.vc14.dll,sha256=6EQ2JEwPVVFRcZ4i3bMeQXU5b4UfEkaA3lx3a02zyJg,244736
9
+ pyopengl_glut_binaries/DLLS/freeglut64.vc9.dll,sha256=O41hUkbbahwnybSePK4eHoGx4Mi-Qyu-vRU_lHk4MFI,254976
10
+ pyopengl_glut_binaries/DLLS/freeglut_COPYING.txt,sha256=1P8jNEN0VVE4ibFvG6lBZeTTIoeEHm4e6FZEKhVdnpk,1466
11
+ pyopengl_glut_binaries/DLLS/freeglut_README.txt,sha256=8Cgy0Y0GSpODV6PqTgs8Q-HIbp6-WKlglcUxl1c8qlM,5065
12
+ pyopengl_glut_binaries/DLLS/gle32.vc10.dll,sha256=BQg7x5st4wSqe2BLl6VgwqayVGmG5W2exyrT9uKlwlo,55808
13
+ pyopengl_glut_binaries/DLLS/gle32.vc14.dll,sha256=0UvyRPQfwuzy36ulpzo4mt7YaQKClDZm65iAurP_o20,63488
14
+ pyopengl_glut_binaries/DLLS/gle32.vc9.dll,sha256=WcrVFSa-X9APkEpDF1TAT74VFHGvVx0vdJdjW96BRjY,52736
15
+ pyopengl_glut_binaries/DLLS/gle64.vc10.dll,sha256=PvvkrXn6g0h_zohQRVNodDbHaSVkB00e_sW6gUHp49w,77312
16
+ pyopengl_glut_binaries/DLLS/gle64.vc14.dll,sha256=f_5jSY3no6EtENVMGFgkx9uOrVVBgQmh6JfSjf71UZk,77312
17
+ pyopengl_glut_binaries/DLLS/gle64.vc9.dll,sha256=tCdRCvYzpimEgec4lC8yaNrt9E1sAa90YgV5A0vt6c4,76288
18
+ pyopengl_glut_binaries/DLLS/gle_AUTHORS,sha256=-FuKtonaBVJskHFQEqnGoBZHF_hmOVhZ-ivPx5yEMWk,290
19
+ pyopengl_glut_binaries/DLLS/gle_COPYING,sha256=iEYILuh3-Dmc0wcu1aIiFcVHKABdptE9cfqSICHDk3s,19125
20
+ pyopengl_glut_binaries/DLLS/gle_COPYING.src,sha256=F8NQTpL6F7kW8q4J6cGSJjpovY8UKeGN6KgJu6Rs-C0,3261
21
+ pyopengl_glut_binaries-1.0.0.dist-info/licenses/LICENSE,sha256=_9mojjnac7xUS1-uHUkyf4yhWsnZjxVU5NrSSP3OoHU,4192
22
+ pyopengl_glut_binaries-1.0.0.dist-info/METADATA,sha256=pFshuuClmYlMoN2bQESHT2xk1eMAnee9DUZGSxwpBP4,4035
23
+ pyopengl_glut_binaries-1.0.0.dist-info/WHEEL,sha256=hWIIzD6y97TQo9UeBjV7-6mCuu4s21FFcY1K8yfxMO0,94
24
+ pyopengl_glut_binaries-1.0.0.dist-info/top_level.txt,sha256=tj8hDwpp_hb6Spvb89QR407OjOqLUAd3PIAob8Wgjz8,23
25
+ pyopengl_glut_binaries-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win32
5
+
@@ -0,0 +1,80 @@
1
+ This licence covers the packaging in this distribution. The libraries it
2
+ carries are third-party works under their own terms, reproduced at the end of
3
+ this file and shipped in full beside the binaries themselves, in
4
+ src/pyopengl_glut_binaries/DLLS/.
5
+
6
+ PyOpenGL-glut-binaries License
7
+
8
+ Copyright (c) 2026, Michael C. Fletcher and Contributors
9
+ All rights reserved.
10
+
11
+ Redistribution and use in source and binary forms, with or without
12
+ modification, are permitted provided that the following conditions
13
+ are met:
14
+
15
+ Redistributions of source code must retain the above copyright
16
+ notice, this list of conditions and the following disclaimer.
17
+
18
+ Redistributions in binary form must reproduce the above
19
+ copyright notice, this list of conditions and the following
20
+ disclaimer in the documentation and/or other materials
21
+ provided with the distribution.
22
+
23
+ The name of Michael C. Fletcher, or the name of any Contributor,
24
+ may not be used to endorse or promote products derived from this
25
+ software without specific prior written permission.
26
+
27
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
30
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
31
+ COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
32
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
33
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
38
+ OF THE POSSIBILITY OF SUCH DAMAGE.
39
+
40
+ --------------------------------------------------------------------------
41
+
42
+ This distribution redistributes builds of two third-party libraries. Their
43
+ own terms follow; the full licence files ship beside the binaries, in
44
+ src/pyopengl_glut_binaries/DLLS/.
45
+
46
+ FreeGLUT (GL Utility Toolkit) is licensed under the MIT/X-Consortium License,
47
+ in full in freeglut_COPYING.txt:
48
+
49
+ Freeglut code without an explicit copyright is covered by the following
50
+ copyright:
51
+
52
+ Copyright (c) 1999-2000 Pawel W. Olszta. All Rights Reserved.
53
+ Permission is hereby granted, free of charge, to any person obtaining a copy
54
+ of this software and associated documentation files (the "Software"), to deal
55
+ in the Software without restriction, including without limitation the rights
56
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
57
+ copies or substantial portions of the Software.
58
+
59
+ The above copyright notice and this permission notice shall be included in
60
+ all copies or substantial portions of the Software.
61
+
62
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
64
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
65
+ PAWEL W. OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
66
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
67
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
68
+
69
+ Except as contained in this notice, the name of Pawel W. Olszta shall not be
70
+ used in advertising or otherwise to promote the sale, use or other dealings
71
+ in this Software without prior written authorization from Pawel W. Olszta.
72
+
73
+ GLE (GL Tubing and Extrusion) is licensed under the IBM standard example
74
+ source code licence, in full in gle_COPYING.src, with gle_COPYING recording
75
+ that the recipient may instead take it under the GPL. Copyright notice:
76
+
77
+ This software is owned by International Business Machines Corporation
78
+ ("IBM"), or its subsidiaries or IBM's suppliers, and is copyrighted and
79
+ licensed, not sold. IBM retains title to the software, and grants you a
80
+ nonexclusive license for the software.
@@ -0,0 +1 @@
1
+ pyopengl_glut_binaries