Skip to content

Releases: ClericPy/zipapps

2022.02.27

27 Feb 16:12
Compare
Choose a tag to compare

add --unzip-exclude

2022.1.17

16 Jan 17:04
Compare
Choose a tag to compare
  • 2021.01.17
    • add runtime arg --activate-zipapps to ensure cache folder and do nothing
    • fix pip install for -d (lazy install mode) with pip.main function instead of subprocess
    • tell how to use zipapps with nuitka

2021.11.1

01 Nov 16:36
Compare
Choose a tag to compare
  • 2021.11.01
    • add --clear-zipapps-cache / -czc command line arg
      • Clear the zipapps cache folder after running, but maybe failed for .pyd/.so files.
    • move the const to the top of ensure_zipapps template.

2021.09.22

22 Sep 14:21
Compare
Choose a tag to compare
  • fix --layer-mode-prefix not work for -a files

2021.09.21

21 Sep 17:02
Compare
Choose a tag to compare
  • 2021.09.21
  • 2021.05.17
    • lazy-install mode will re-install packages while pip args including -U or --upgrade.

2021.04.29

29 Apr 16:13
Compare
Choose a tag to compare
  • add arg --ensure-pip for embed-python(windows) or other python versions which have no pip installed but lazy-install mode is enabled.

2021.04.24

24 Apr 17:56
Compare
Choose a tag to compare
  • remove conflict command args with pip
    • remove --compile arg, it will only work for pip
    • -c will not be removed, pip install -c could use pip install --constraint instead
  • Refactor for OOP(Object-oriented programming)
    • Will be used as the first stable version and end experimental phase
    • remove Config class
    • show version info and other logs in stderr
    • compiled should not be True while unzip is null
    • a successful message has been added to the tail of logs: Successfully built

2021.04.23

22 Apr 15:39
Compare
Choose a tag to compare
  • lazy install mode:
    • fix bug: python version conflict
    • remove repeated installation
      • pip install will execute only once for same pip_args_md5
      • pip_args_md5 comes from pip_args string, including bytes of related files(like requirements.txt)
  • logs of pip install will be redirected, from stdout to stderr

2021.04.22

21 Apr 17:52
Compare
Choose a tag to compare
  • 2021.04.22
    • update the lazy_install mode (-d)
      • simple use case:
          1. python -m zipapps -d six
          1. python app.pyz -c "import six;print(six.__file__)"
      • it will not rmtree the _zipapps_lazy_pip folder for new build
        • if you need to upgrade those requirements, use -U arg of pip
        • lazy_install mode will install requirements with pip install while first running
          • so you can just run like this to init its installation(-m not set): python3 app.pyz -V
      • for now, -d is to server for the cross-platform and cross-python-version app
        • pip target path is separated from different python version and system platform
          • python version accurity can be reset with -pva 5, defaults to 2, means 3.8.3 and 3.8.4 are same 3.8

2021.04.11

11 Apr 14:57
Compare
Choose a tag to compare
  • add --sys-paths to include new paths of sys.path
    • support TEMP/HOME/SELF prefix, separated by commas
    • sometimes be used for separating pyz code from requirements
      • requirements often be installed by pip install xxx -t $SOME_PATH