-
Notifications
You must be signed in to change notification settings - Fork 7
Build and Package: Windows
Parallax Git Administrator edited this page Mar 9, 2017
·
3 revisions
These steps need to be performed on a pre-configured development system every time a new installation package is desired.
- Build the BlocklyPropClient
- Open a command window
- Check out the needed branch from the BlocklyPropClient repository
- This can be done either
- in PyCharm's VCS > Git > Branches... menu, then select origin/{branch} > Checkout as new local branch from Remote Branches (or if Local Branches section exists, you can select {branch} -> origin/{branch} from Local Branches), then Exit PyCharm
- in Git command line:
- $ cd C:\Users{username}\PycharmProjects\BlocklyPropClient
- $ git checkout origin {branch}
- This can be done either
- Run the build script (.windows.spec) from within the repository directory:
-
$ c:\Python27\Scripts\pyinstaller BlocklyPropClient.windows.spec
- This builds and stores the application files in the ./dist subfolder which will be used by InnoSetup.
-
$ c:\Python27\Scripts\pyinstaller BlocklyPropClient.windows.spec
- Package BlocklyPropClient
- Run InnoSetup
- File > Open the .spec file: C:\Users{username}\PycharmProjects\BlocklyPropClient\package\blocklypropclient-installer.iss
- Select Build > Compile
- Now the installer executable will be in the ./dist subfolder.
- Run InnoSetup
Try out Parallax's BlocklyProp System with the Activity Bot or the S3 Robot. See the Learn site for even more!