From c3e192cbbe4183bd738d8842d7e67a1e72f981b2 Mon Sep 17 00:00:00 2001 From: Stelios Tsampas Date: Fri, 9 Sep 2022 20:49:30 +0300 Subject: [PATCH] Add requirements-full.txt with everything --- .gitignore | 4 ++++ rare/__main__.py | 3 ++- requirements-full.txt | 10 ++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 requirements-full.txt diff --git a/.gitignore b/.gitignore index b5aa625d..dbd7a529 100644 --- a/.gitignore +++ b/.gitignore @@ -19,5 +19,9 @@ __pycache__ /AppDir/ /System Volume Information/ /test_files/ +# Nuitka build artifacts /rare.build +/rare.dist /rare.bin +/rare.cmd +/rare.exe diff --git a/rare/__main__.py b/rare/__main__.py index 84e1fc87..d782c122 100644 --- a/rare/__main__.py +++ b/rare/__main__.py @@ -114,6 +114,7 @@ if __name__ == "__main__": # ) # insert source directory - sys.path.insert(0, str(pathlib.Path(__file__).parents[1].absolute())) + if "__compiled__" not in globals(): + sys.path.insert(0, str(pathlib.Path(__file__).parents[1].absolute())) main() diff --git a/requirements-full.txt b/requirements-full.txt new file mode 100644 index 00000000..7ee86ac0 --- /dev/null +++ b/requirements-full.txt @@ -0,0 +1,10 @@ +typing_extensions +requests +PyQt5 +QtAwesome +setuptools +legendary-gl +pywin32; platform_system == "Windows" +pywebview[qt]; platform_system == "Linux" +pywebview[cef]; platform_system == "Windows" +pypresence