Skip to content

2022.04.27

Compare
Choose a tag to compare
@ClericPy ClericPy released this 28 Apr 09:05
· 193 commits to master since this release
  • 2022.04.27
    • handle PermissionError for chmod
    • support --dump-config and --load-config #24 fixed
    • support --freeze-reqs close #22
      • Freeze package versions of pip args with venv, output to the given file path.
        • - equals to stdout
        • logs will be redirect to stderr
      • Based on pip + venv
        • the work folder is tempfile.TemporaryDirectory, prefix='zipapps_'
    • 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
    • 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 --chmod forget the parent folder and .pyz self
  • 2022.03.13
    • check is_zipfile before activate
    • --ensure-zipapps as the alias of --activate-zipapps
    • fix the conflict between -d mode and -u
    • add --chmod for unzipped files, fix #17