Install PyCharm and use VCS (version control system) to edit. Read guides PyCharm how to use it.
To compile go to PyDarts\pydarts-source\scripts and run pdcompile.bat (I correct it as shown below). You will be asked additional packages needed to install.
Then go to in the PyDarts\pydarts-source\scripts\build\pydarts and run pydarts.exe
pdcompile.bat
set pyinstallerpath=pyinstaller.py
set pydartspath=C:\Users\user\Documents\Darts_dev\PyDarts\PyDarts\pydarts-source
set pydartsscript=%pydartspath%\pydarts.py
Hi evryone !
what I need to download to open pydarts edited source
I mean ----- pip install and more
so what should I do if I have folder with edited scripts and i need .exe file
is there anyone who would write down what I need to do to that start pydarts edit source ?
Thanks Jiri !
Install PyCharm and use VCS (version control system) to edit. Read guides PyCharm how to use it.
To compile go to PyDarts\pydarts-source\scripts and run pdcompile.bat (I correct it as shown below). You will be asked additional packages needed to install.
Then go to in the PyDarts\pydarts-source\scripts\build\pydarts and run pydarts.exe
pdcompile.bat
set pyinstallerpath=pyinstaller.py
set pydartspath=C:\Users\user\Documents\Darts_dev\PyDarts\PyDarts\pydarts-source
set pydartsscript=%pydartspath%\pydarts.py
C:\Users\user\AppData\Local\Programs\Python\Python38\Scripts\pyinstaller ^
--paths="%pydartspath%" ^
--add-data="%pydartspath%\locales;locales" ^
--add-data="%pydartspath%\sounds;sounds" ^
--add-data="%pydartspath%\images;images" ^
--add-data="%pydartspath%\fonts;fonts" ^
--add-data="%pydartspath%\licence;licence" ^
--add-data="%pydartspath%\arduino;arduino" ^
--add-data="%pydartspath%\desktop;desktop" ^
--add-data="%pydartspath%\CREDITS;." ^
--add-data="%pydartspath%\README;." ^
--hidden-import="games.321_Zlip" ^
--hidden-import="games.Cricket" ^
--hidden-import="games.Football" ^
--hidden-import="games.Practice" ^
--hidden-import="games.Ho_One" ^
--hidden-import="games.Sample_game" ^
--hidden-import="games.Kinito" ^
--hidden-import="games.Killer" ^
--hidden-import="games.Kapital" ^
--hidden-import="games.Shanghai" ^
--icon="%pydartspath%\images\icon_black_256.ico" -y^
C:\Users\user\Documents\Darts_dev\PyDarts\PyDarts\pydarts-source\pydarts.py
Hi thanks fow answer you write \pydarts-source\scripts\build\pydarts and run pydarts.exe but i dnt have folder build in scripts folder
Do you run run pdcompile.bat? Did it finish without error? Build folder created after run pdcompile.bat successfully.
Hi i dont have folder build in scripts folder
i started pdcompile but build folder dont have