Skip to content

Commit 4b3f443

Browse files
new license
1 parent 22e773c commit 4b3f443

File tree

11 files changed

+404
-172
lines changed

11 files changed

+404
-172
lines changed

LICENSE

Lines changed: 277 additions & 165 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ original Raylib. Faster, fewer bugs and easier to maintain than ctypes.
55

66
[Full documentation](http://electronstudio.github.io/raylib-python-cffi)
77

8-
# Install
8+
# License (updated)
9+
10+
The bindings are now under the Eclipse Public License, so you are free to
11+
statically link and use in non-free / proprietary / commercial projects!
12+
13+
# Installation
914

1015
We distribute a statically linked binary Raylib wheel:
1116

@@ -78,4 +83,7 @@ You can create a standalone binary using the Nuitka compiler. For example, here
7883

7984
# Advert
8085

81-
[RetroWar: 8-bit Party Battle](https://store.steampowered.com/app/664240/RetroWar_8bit_Party_Battle/?git) is out now. Defeat up to 15 of your friends in a tournament of 80s-inspired retro mini games.
86+
[RetroWar: 8-bit Party Battle](https://store.steampowered.com/app/664240/RetroWar_8bit_Party_Battle/?git) is out now. Defeat up to 15 of your friends in a tournament of 80s-inspired retro mini games.
87+
88+
[Coding Games With Pygame Zero & Python](https://github.com/electronstudio/pygame-zero-book) is
89+
a book for Python beginners.

create_stub_pyray.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2021 Richard Smith and others
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Eclipse Public License 2.0 which is available at
5+
# http://www.eclipse.org/legal/epl-2.0.
6+
#
7+
# This Source Code may also be made available under the following Secondary
8+
# licenses when the conditions for such availability set forth in the Eclipse
9+
# Public License, v. 2.0 are satisfied: GNU General Public License, version 2
10+
# with the GNU Classpath Exception which is
11+
# available at https://www.gnu.org/software/classpath/license.html.
12+
#
13+
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14+
115
from raylib.static import rl, ffi
216

317
from inspect import ismethod, getmembers, isbuiltin

create_stub_static.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2021 Richard Smith and others
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Eclipse Public License 2.0 which is available at
5+
# http://www.eclipse.org/legal/epl-2.0.
6+
#
7+
# This Source Code may also be made available under the following Secondary
8+
# licenses when the conditions for such availability set forth in the Eclipse
9+
# Public License, v. 2.0 are satisfied: GNU General Public License, version 2
10+
# with the GNU Classpath Exception which is
11+
# available at https://www.gnu.org/software/classpath/license.html.
12+
#
13+
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14+
115
from raylib.static import rl, ffi
216

317
from inspect import ismethod, getmembers, isbuiltin

raylib/__init__.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
__version__ = "3.7.0.post3"
1+
__version__ = "3.7.0.post4"
2+
3+
# Copyright (c) 2021 Richard Smith and others
4+
#
5+
# This program and the accompanying materials are made available under the
6+
# terms of the Eclipse Public License 2.0 which is available at
7+
# http://www.eclipse.org/legal/epl-2.0.
8+
#
9+
# This Source Code may also be made available under the following Secondary
10+
# licenses when the conditions for such availability set forth in the Eclipse
11+
# Public License, v. 2.0 are satisfied: GNU General Public License, version 2
12+
# with the GNU Classpath Exception which is
13+
# available at https://www.gnu.org/software/classpath/license.html.
14+
#
15+
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
216

317
from raylib.static import *
418
from raylib.pyray import PyRay

raylib/colors.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2021 Richard Smith and others
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Eclipse Public License 2.0 which is available at
5+
# http://www.eclipse.org/legal/epl-2.0.
6+
#
7+
# This Source Code may also be made available under the following Secondary
8+
# licenses when the conditions for such availability set forth in the Eclipse
9+
# Public License, v. 2.0 are satisfied: GNU General Public License, version 2
10+
# with the GNU Classpath Exception which is
11+
# available at https://www.gnu.org/software/classpath/license.html.
12+
#
13+
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14+
115
LIGHTGRAY =( 200, 200, 200, 255 )
216
GRAY =( 130, 130, 130, 255 )
317
DARKGRAY =( 80, 80, 80, 255 )

raylib/dynamic/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
materials of a model. But now it __seems__ to work
44
"""
55

6+
# Copyright (c) 2021 Richard Smith and others
7+
#
8+
# This program and the accompanying materials are made available under the
9+
# terms of the Eclipse Public License 2.0 which is available at
10+
# http://www.eclipse.org/legal/epl-2.0.
11+
#
12+
# This Source Code may also be made available under the following Secondary
13+
# licenses when the conditions for such availability set forth in the Eclipse
14+
# Public License, v. 2.0 are satisfied: GNU General Public License, version 2
15+
# with the GNU Classpath Exception which is
16+
# available at https://www.gnu.org/software/classpath/license.html.
17+
#
18+
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
19+
620
from cffi import FFI
721
import itertools
822
import os

raylib/pyray.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2021 Richard Smith and others
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Eclipse Public License 2.0 which is available at
5+
# http://www.eclipse.org/legal/epl-2.0.
6+
#
7+
# This Source Code may also be made available under the following Secondary
8+
# licenses when the conditions for such availability set forth in the Eclipse
9+
# Public License, v. 2.0 are satisfied: GNU General Public License, version 2
10+
# with the GNU Classpath Exception which is
11+
# available at https://www.gnu.org/software/classpath/license.html.
12+
#
13+
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14+
115
from .static import rl, ffi
216
from .colors import *
317
from inspect import ismethod,getmembers,isbuiltin

raylib/static/__init__.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
from raylib.static._raylib_cffi import ffi, lib as rl
1+
# Copyright (c) 2021 Richard Smith and others
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Eclipse Public License 2.0 which is available at
5+
# http://www.eclipse.org/legal/epl-2.0.
6+
#
7+
# This Source Code may also be made available under the following Secondary
8+
# licenses when the conditions for such availability set forth in the Eclipse
9+
# Public License, v. 2.0 are satisfied: GNU General Public License, version 2
10+
# with the GNU Classpath Exception which is
11+
# available at https://www.gnu.org/software/classpath/license.html.
12+
#
13+
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14+
15+
from ._raylib_cffi import ffi, lib as rl
216
from raylib.static._raylib_cffi.lib import *
317
from raylib.colors import *
418
import cffi

raylib/static/build.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2021 Richard Smith and others
2+
#
3+
# This program and the accompanying materials are made available under the
4+
# terms of the Eclipse Public License 2.0 which is available at
5+
# http://www.eclipse.org/legal/epl-2.0.
6+
#
7+
# This Source Code may also be made available under the following Secondary
8+
# licenses when the conditions for such availability set forth in the Eclipse
9+
# Public License, v. 2.0 are satisfied: GNU General Public License, version 2
10+
# with the GNU Classpath Exception which is
11+
# available at https://www.gnu.org/software/classpath/license.html.
12+
#
13+
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14+
115
# Assumes raylib, GL, etc are all already installed as system libraries. We dont distribute them.
216
# Raylib must be installed and compiled with: cmake -DWITH_PIC=ON -DSHARED=ON -DSTATIC=ON ..
317

0 commit comments

Comments
 (0)