-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL.txt
More file actions
34 lines (30 loc) · 1.71 KB
/
INSTALL.txt
File metadata and controls
34 lines (30 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
GdPy install and uninstall
==========================
Install:
1. Run install.bat
2. The installer first tries to create .venv
3. If .venv fails, it automatically falls back to a user pip installation
4. Start scripts with run_gdpy.bat your_file.gdpy
5. .gdpy files are associated for double-click open when Windows integration succeeds
6. Desktop shortcuts are created when Windows integration succeeds
7. Standalone installer EXE is built into installer-release\GdPyInstaller.exe
8. The standalone installer uses a fixed path: %LOCALAPPDATA%\GdPy
9. The standalone installer provides Install, Repair/Update and Remove actions
10. The standalone installer automatically checks GitHub Releases for newer versions
Open source code:
1. Run open_source.bat
2. If VS Code is installed, the workspace opens there
3. Otherwise the folder, gdpy.py and COMMANDS.txt are opened
4. You can also run install_gui.bat for the graphical installer window
5. Or double-click GdPy Installer.vbs to open the installer window without a console
6. Run build_installer_exe.bat to build GdPyInstaller.exe
7. The standalone EXE already contains the project payload and does not require the other source files next to it
Uninstall:
1. Run uninstall.bat
2. It removes the local .venv folder and Python cache files
Notes:
- GdPy currently has no required third-party packages, but install.bat still uses pip and requirements.txt
- The interpreter itself runs directly from the source folder through run_gdpy.bat
- If internet is available, install.bat also tries to update pip/setuptools/wheel
- uninstall.bat removes .venv if it exists and also tries to uninstall the pip package
- Windows integration is written under HKCU so it normally does not need administrator rights