try
This commit is contained in:
parent
2154d36b41
commit
b0da316441
5 changed files with 106 additions and 177 deletions
7
setup.py
7
setup.py
|
@ -11,7 +11,12 @@ README = (HERE / "README.md").read_text()
|
|||
VERSION = (HERE / "version.py").read_text().split()[-1].strip("\"'")
|
||||
|
||||
RAYLIB_PLATFORM = os.getenv("RAYLIB_PLATFORM", "Desktop")
|
||||
NAME = "raylib_sdl" if RAYLIB_PLATFORM == "SDL" else "raylib"
|
||||
if RAYLIB_PLATFORM == "SDL":
|
||||
NAME = "raylib_sdl"
|
||||
elif RAYLIB_PLATFORM == "DRM":
|
||||
NAME = "raylib_drm"
|
||||
else:
|
||||
NAME = "raylib"
|
||||
|
||||
class BinaryDistribution(Distribution):
|
||||
"""Distribution which always forces a binary package with platform name"""
|
||||
|
|
Reference in a new issue