mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Setup: add setup specific requirements
This commit is contained in:
10
setup.py
10
setup.py
@@ -3,6 +3,16 @@ import shutil
|
||||
import sys
|
||||
import sysconfig
|
||||
from pathlib import Path
|
||||
|
||||
import ModuleUpdate
|
||||
# I don't really want to have another root directory file for a single requirement, but this special case is also jank.
|
||||
# Might move this into a cleaner solution when I think of one.
|
||||
with open("freeze_requirements.txt", "w") as f:
|
||||
f.write("cx-Freeze>=6.9\n")
|
||||
ModuleUpdate.requirements_files.add("freeze_requirements.txt")
|
||||
ModuleUpdate.requirements_files.add(os.path.join("WebHostLib", "requirements.txt"))
|
||||
ModuleUpdate.update()
|
||||
|
||||
import cx_Freeze
|
||||
from kivy_deps import sdl2, glew
|
||||
from Utils import version_tuple
|
||||
|
Reference in New Issue
Block a user