Releases: ClericPy/zipapps
Releases · ClericPy/zipapps
2025.9.4
- 2025.09.04
download_python: removed the defaultstrippedkeywordtest_utils.py: now uses thetest_cache/folder to avoid conflicts- Fixed Linux test cases
- download_python
- removed the default
strippedkeyword - Linux is now the default platform for auto mode
- removed the default
- Added scripts entry point to zipapps's pyproject.toml
- Can also be used as
uvx zipapps ... - Or
zipapps.exe ...on Windows, orzipappson Unix
- Can also be used as
- Added
--uvoption to accept a path to uv, speeding uppip install--uv=uvor--uv=path/to/uv
- Added
--freeze-depsas an alias for--freeze-reqs - fix deprecated warning since 3.10
zipimporter.load_module - add
uvxuse case to test_utils.pyuvx zipapps sixpython -m zipapps six --uv=uv
2024.08.07
- 2024.08.07
- [Compatible WARNING]: update
sys_pathsinsert index from-1to0 - disable
--download-python, usepython -m zipapps.download_pythoninstead- add
-a/--auto- auto download the latest version matched the current platform: x86_64+install_only
python -m zipapps.download_python -a
- add
-k/--keywords, filt with keywords split by,python -m zipapps.download_python -a -k 3.11
- add
-u/--unzip, unzip the.tar.gzpython -m zipapps.download_python -a -k 3.11 -u- download and unzip the
.tar.gz
- download and unzip the
- add
- [Compatible WARNING]: update
2024.06.04
changelog
- add arg
--download-python: interactive download standalone python interpreter (https://www.github.com/indygreg/python-build-standalone) - custom
--rm-patternsto remove useless files . fixed #28 #29 - add
pip_install_targetto install requirements and insert tosys.path, cache supportfrom zipapps import pip_install_targetpip_install_target(Path("./mock_dir"), ["six"], force=False, sys_path=0); import six
test env update:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.x"]
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.x"]
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.x"]
2024.04.22
- fix get_data
__name__of module - remove py36 test
- add this package to morebuiltins
2023.09.12
- 2023.09.12
- add
--download-pip-pyzto download pip.pyz- install pip module to win32 embeded exe
- win32 embeded
./python.exe xxx/xxx/zipapps.pyzauto downloadpip.pyzand append to _pth
- win32 embeded
- install pip module to win32 embeded exe
- fix
main.pydocs
- add
- 2023.06.04
- save zipapps_config.json to pyz file
2022.10.28
- 2022.08.28
- add
-qfor quiet mode-qqqqqto mute all the logs
-msupport source code mode while not matchedmodule.submodule:functionformat- like
python -c "python code" - demo:
python -m zipapps -m "import six; print(six.__file__)" - WARN: only when
-mnot matched regexr'^\w+(\.\w+)?(:\w+)?$'
- like
- add
2022.08.29
2022.04.27
- 2022.04.27
- handle PermissionError for chmod
- support
--dump-configand--load-config#24 fixed - support
--freeze-reqsclose #22- Freeze package versions of pip args with venv, output to the given file path.
-equals tostdout- logs will be redirect to
stderr
- Based on
pip+venv- the work folder is
tempfile.TemporaryDirectory, prefix='zipapps_'
- the work folder is
- Freeze package versions of pip args with venv, output to the given file path.
- support clear self pyz after running fix #21
- refactor environment variables template and interval variables(with string.Template) #23
- change TEMP/HOME/SELF prefixes with $TEMP/$HOME/$SELF
- backward compatibility is preserved
- support $PID, $CWD
- change TEMP/HOME/SELF prefixes with $TEMP/$HOME/$SELF
- normalize the map of environment variables
- use these envs to reset build args at runtime
-
'unzip': 'ZIPAPPS_UNZIP', 'unzip_exclude': 'ZIPAPPS_UNZIP_EXCLUDE', 'unzip_path': 'ZIPAPPS_CACHE', 'ignore_system_python_path': 'STRICT_PYTHON_PATH', 'python_version_slice': 'PYTHON_VERSION_SLICE', 'clear_zipapps_cache': 'CLEAR_ZIPAPPS_CACHE', 'clear_zipapps_self': 'CLEAR_ZIPAPPS_SELF', 'unzip_chmod': 'UNZIP_CHMOD',
- 2022.03.17
- fix
--chmodforget the parent folder and.pyzself
- fix
- 2022.03.13
- check is_zipfile before activate
--ensure-zipappsas the alias of--activate-zipapps- fix the conflict between
-dmode and-u - add
--chmodfor unzipped files, fix #17
2022.03.10
- fix bug of
sys.pathmissing the parent of__file__while runningpython venv.pyz xx.py
2022.03.07
- 2022.03.07
- fix bug of version
2022.03.06- file xxx.template not found
- fix bug of version