diff --git a/README.md b/README.md index cc25be38..76a3a4a8 100644 --- a/README.md +++ b/README.md @@ -225,7 +225,6 @@ CMD ```cmd > git clone https://github.com/kliment/Printrun.git > cd Printrun -> git submodule update --init --recursive > release_windows.bat ``` @@ -233,15 +232,18 @@ PowerShell: ```ps > git clone https://github.com/kliment/Printrun.git > cd Printrun -> git submodule update --init --recursive > ./release_windows.bat ``` -The script above will clone this repository and the submodule PrintrunGTK3. The script 'release_windows.bat' will install a virtual environment named v3, download all needed python libraries and compile the binaries for Pronterface.exe and Pronsole.exe. -You will find the files in the new created directory 'dist'. You will find further and more detailed information in the script release_windows.bat. Further information for the linked submodul: [PrintrunGTK3](https://github.com/DivingDuck/PrintrunGTK3) +The script above will clone this repository. The script `release_windows.bat` will install a virtual environment named v3, download all needed python libraries and compile the binaries for Pronterface.exe and Pronsole.exe. +You will find the files in the new created directory `dist`. You will find further and more detailed information in the script `release_windows.bat`. Run Pronterface or Pronsole from the binary files or from source calling pronterface.py for the GUI version and pronsole.py for the commandline version. -Run 'release_windows.bat' when ever you make changes or updates. With each new run it will compile the binaries and update all involved libraries in the virtual environment if needed. Delete the virtual environment if you have problems with it. Use 'git submodule update --init --recursive' for updating the submodule +Running Pronsole works best by running it in WindowsTerminal. You can create a desktop shortcut link to the file pronsole.exe. Then edit the target for your shortcut as shown in belows example: +`%LocalAppData%\Microsoft\WindowsApps\wt.exe --title Pronsole %USERPROFILE%\Downloads\pronterface-test\pronsole.exe` +You need to adjust the path to your location of pronsole.exe. + +Run 'release_windows.bat' when ever you make changes or updates. With each new run it will compile the binaries and update all involved libraries in the virtual environment if needed. Delete the virtual environment if you have problems with it. # USING PRINTRUN diff --git a/buildinstructions.txt b/buildinstructions.txt index f31f67ac..30d01f7c 100644 --- a/buildinstructions.txt +++ b/buildinstructions.txt @@ -9,7 +9,6 @@ python3 -m venv v3 . ./v3/bin/activate pip install --upgrade pip pip install --upgrade setuptools -pip install cffi pip install -r requirements.txt pip install cython python setup.py build_ext --inplace @@ -38,17 +37,21 @@ setup on windows: (install python 3.10) (install python extension compile environment, see https://wiki.python.org/moin/WindowsCompilers ) (install git) +(for further informations pls. see script file release_windows.bat where we implemented +an automated build for windows) git clone http://github.com/kliment/Printrun.git cd Printrun -git submodule update --init --recursive git pull \path\to\python3\python -m venv v3 v3\Scripts\activate pip install --upgrade pip pip install --upgrade setuptools -pip install cffi -pip install -r requirements.txt +pip install wheel pip install cython +pip install -r requirements.txt +pip install simplejson +pip install pypiwin32 +pip install polygon3 * please see remark python setup.py build_ext --inplace for running: @@ -58,3 +61,8 @@ for packaging: pip install pyinstaller pyi-makespec -F --add-data images/*;images --add-data *.png;. --add-data *.ico;. -w -i pronterface.ico pronterface.py pyinstaller --clean pronterface.spec -y + +Remark: +The library polygon is free for non commercial use. You can build Pronterface without +this library but then it will run slower. +Please find further details here: https://pypi.org/project/Polygon3/ \ No newline at end of file