Python Win App Packager
-----------------------
Distributing end user software on windows should not require the
end user to install dependancies, like python.
This tool turns a python program into a package that is suitable
to be installed on window via installation software like INNO setup
(http://www.jrsoftware.org/isinfo.php).
The method used to create the package copies the source code of the
program, the source code from any python libraries and any required
python extensions and the DLLs that depend on.
The inclusion of the source code allows users to modify the program,
if they so desire.
win_app_packager supports python 3 for win64.
1.5.0 add supoprt for python 3.11
Fix issue with not finding python3XX.dll
If environment variable PY_WIN_APP_DEBUG is set to 1 then
show debug information.
Add GUI test for PyQt6
1.4.3 add support for python 3.10
Add test for cli tzlocal.
Kits built for 3.9 and 3.10 only.
1.4.2 add support for python 3.9
1.4.1 add support for python 3.8 (includes patched modulefinder.py)
1.4.0 add support for packaging projects from a virtual env (venv).
1.3.0 supports changing the version resource of the created .EXE.
The version fields that name the app are set to the app .EXE name.
The --version option allows the app's version to be set.
Python version 3.5, 3.6 and 3.7 are supported.
Installation
------------
::
py -3 -m pip install win-app-packager
Usage
-----
::
C:\Users\barry> py -3 -m win_app_packager
python3 -m win_app_packager build <main-script> <package-folder> [<options>...]
main-script
- python main module
package-folder
- folder to create package into
Where <options> are:
--console
--cli
build a windows console progam (the default).
--gui
build a windows gui program.
--name
name the program (defaults to the <main-script> name).
--version <version>
Set the version of the .EXE to be <version>.
e.g 1.0.2.5
--install-key <key>
--install-value <value>
The install path of the package can be read
from the windows registry from key HKLM:<key> value <value>
otherwise the install path is assumed to be the same folder
that the .EXE files is in.
--modules-allowed-to-be-missing-file <file-name>
Add all the modules listed in the file <file-name> to the allowed
to be missing list. Blank lines and lines starting with a '#' as ignored.
--merge
Do not clean out the <package-folder> before building the package.
Useful for putting multiple programs into one package.
--verbose
Output extra information about the build process.
--debug
Developer option. Output lots of details about the build process.
--bootstrap-debug
Developer option. Copy PDF files and setup a Microsoft Visual
Studio solution (.sln) file suitable for running the bootstrap
under the debugger.
python3 -m win_app_packager flags <exe-file> <verbose>'
exe-file
- the win_app_package create EXE file to modify
verbose
- either "0" or "1". The value to see the python verbose flag to.
Raw data
{
"_id": null,
"home_page": "https://github.com/barry-scott/PythonWinAppPackager",
"name": "win-app-packager",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "development",
"author": "Barry Scott",
"author_email": "barry@barrys-emacs.org",
"download_url": "https://files.pythonhosted.org/packages/74/b1/88cfdd04c2efb17cb26e4f9f43c749311822d83c80f226fd5371e3afe2f6/win_app_packager-1.5.0.tar.gz",
"platform": null,
"description": "Python Win App Packager\r\n-----------------------\r\n\r\nDistributing end user software on windows should not require the\r\nend user to install dependancies, like python.\r\n\r\nThis tool turns a python program into a package that is suitable\r\nto be installed on window via installation software like INNO setup\r\n(http://www.jrsoftware.org/isinfo.php).\r\n\r\nThe method used to create the package copies the source code of the\r\nprogram, the source code from any python libraries and any required\r\npython extensions and the DLLs that depend on.\r\n\r\nThe inclusion of the source code allows users to modify the program,\r\nif they so desire.\r\n\r\nwin_app_packager supports python 3 for win64.\r\n\r\n1.5.0 add supoprt for python 3.11\r\nFix issue with not finding python3XX.dll\r\n\r\nIf environment variable PY_WIN_APP_DEBUG is set to 1 then\r\nshow debug information.\r\n\r\nAdd GUI test for PyQt6\r\n\r\n1.4.3 add support for python 3.10\r\nAdd test for cli tzlocal.\r\nKits built for 3.9 and 3.10 only.\r\n\r\n1.4.2 add support for python 3.9\r\n\r\n1.4.1 add support for python 3.8 (includes patched modulefinder.py)\r\n\r\n1.4.0 add support for packaging projects from a virtual env (venv).\r\n\r\n1.3.0 supports changing the version resource of the created .EXE.\r\nThe version fields that name the app are set to the app .EXE name.\r\n\r\nThe --version option allows the app's version to be set.\r\n\r\nPython version 3.5, 3.6 and 3.7 are supported.\r\n\r\nInstallation\r\n------------\r\n\r\n::\r\n\r\n py -3 -m pip install win-app-packager\r\n\r\n\r\nUsage\r\n-----\r\n\r\n::\r\n\r\n C:\\Users\\barry> py -3 -m win_app_packager\r\n python3 -m win_app_packager build <main-script> <package-folder> [<options>...]\r\n main-script\r\n - python main module\r\n package-folder\r\n - folder to create package into\r\n \r\n Where <options> are:\r\n --console\r\n --cli\r\n build a windows console progam (the default).\r\n --gui\r\n build a windows gui program.\r\n --name\r\n name the program (defaults to the <main-script> name).\r\n --version <version>\r\n Set the version of the .EXE to be <version>.\r\n e.g 1.0.2.5\r\n --install-key <key>\r\n --install-value <value>\r\n The install path of the package can be read\r\n from the windows registry from key HKLM:<key> value <value>\r\n otherwise the install path is assumed to be the same folder\r\n that the .EXE files is in.\r\n --modules-allowed-to-be-missing-file <file-name>\r\n Add all the modules listed in the file <file-name> to the allowed\r\n to be missing list. Blank lines and lines starting with a '#' as ignored.\r\n --merge\r\n Do not clean out the <package-folder> before building the package.\r\n Useful for putting multiple programs into one package.\r\n --verbose\r\n Output extra information about the build process.\r\n --debug\r\n Developer option. Output lots of details about the build process.\r\n --bootstrap-debug\r\n Developer option. Copy PDF files and setup a Microsoft Visual\r\n Studio solution (.sln) file suitable for running the bootstrap\r\n under the debugger.\r\n \r\n python3 -m win_app_packager flags <exe-file> <verbose>'\r\n exe-file\r\n - the win_app_package create EXE file to modify\r\n verbose\r\n - either \"0\" or \"1\". The value to see the python verbose flag to.\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Python Win App Packager",
"version": "1.5.0",
"split_keywords": [
"development"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "184ac871dcef61e0646edbf2aa7cd664",
"sha256": "998721bcdd3e2458f7e30ac8b18be1dc9d096a4625f538747edf3992af673703"
},
"downloads": -1,
"filename": "win_app_packager-1.5.0-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "184ac871dcef61e0646edbf2aa7cd664",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 763628,
"upload_time": "2022-12-20T18:55:27",
"upload_time_iso_8601": "2022-12-20T18:55:27.620169Z",
"url": "https://files.pythonhosted.org/packages/64/7e/5d13af52a26cb2feca46c30e97283efbb719f761da7449218a3cc5effc92/win_app_packager-1.5.0-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "2c57a157d95bbd16868c78ba58b74190",
"sha256": "770ec45d05d300b6212c27a03d4400dbdf5dc6912ae6d37f5f8bff518e50d7fc"
},
"downloads": -1,
"filename": "win_app_packager-1.5.0-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "2c57a157d95bbd16868c78ba58b74190",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 763600,
"upload_time": "2022-12-20T18:55:30",
"upload_time_iso_8601": "2022-12-20T18:55:30.225220Z",
"url": "https://files.pythonhosted.org/packages/2c/c0/7076ffc6c310d5006bce2c5425208e31dafe7e36865b319de1a4321ec342/win_app_packager-1.5.0-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "37411f91b644cd977afa8a63c1480734",
"sha256": "aee27cc479e5c0582b36d9709a142430b84be9d006a5340ef7615b2e2d18ff0a"
},
"downloads": -1,
"filename": "win_app_packager-1.5.0-cp39-cp39-win_amd64.whl",
"has_sig": false,
"md5_digest": "37411f91b644cd977afa8a63c1480734",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": null,
"size": 763620,
"upload_time": "2022-12-20T18:55:32",
"upload_time_iso_8601": "2022-12-20T18:55:32.975175Z",
"url": "https://files.pythonhosted.org/packages/a0/01/f36044607394786134eba87afd0643b1148ed7275b9053986751b33d6353/win_app_packager-1.5.0-cp39-cp39-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "cb80da4d03a1d2b8ac65b13350421077",
"sha256": "802c5434afbcc0b022798cf397392600bcc5e8a419a98f1f1dedb4d0e3e0a25a"
},
"downloads": -1,
"filename": "win_app_packager-1.5.0.tar.gz",
"has_sig": false,
"md5_digest": "cb80da4d03a1d2b8ac65b13350421077",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 763052,
"upload_time": "2022-12-20T18:55:35",
"upload_time_iso_8601": "2022-12-20T18:55:35.001587Z",
"url": "https://files.pythonhosted.org/packages/74/b1/88cfdd04c2efb17cb26e4f9f43c749311822d83c80f226fd5371e3afe2f6/win_app_packager-1.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-20 18:55:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "barry-scott",
"github_project": "PythonWinAppPackager",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "PyQt5",
"specs": []
},
{
"name": "namedstruct",
"specs": []
},
{
"name": "setuptools",
"specs": []
},
{
"name": "wheel",
"specs": []
},
{
"name": "twine",
"specs": []
}
],
"lcname": "win-app-packager"
}