diff --git a/README.md b/README.md index 03c276e..28c7635 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Run `./lint.sh` to find linting errors using `pylint`, `flake8` and `mypy`. * https://hub.docker.com/r/sickcodes/docker-osx # Releases + * 1.0.13: Bug fix * 1.0.12: Bug fix * 1.0.11: Os path cleanup * 1.0.9: Better support for `ubuntu` diff --git a/pyproject.toml b/pyproject.toml index 6d7c3cb..510b608 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ "pytest-xdist" ] # Change this with the version number bump. -version = "1.0.12" +version = "1.0.13" [tool.setuptools] package-dir = {"" = "src"} diff --git a/src/python_compile/assets/entrypoint.sh b/src/python_compile/assets/entrypoint.sh index a3a84c8..cf55a60 100644 --- a/src/python_compile/assets/entrypoint.sh +++ b/src/python_compile/assets/entrypoint.sh @@ -28,7 +28,7 @@ else fi python -m nuitka --standalone --follow-imports --onefile --lto=yes --python-flag=-OO /host_dir/"$@" -for file in $(find /tmp_dir -type f -name "*.bin"); do chmod +x "$file"; done -for file in $(find /tmp_dir -type f -name "*.bin"); do gzip "$file"; done +for file in $(find . -maxdepth 1 -type f -name "*.bin"); do chmod +x "$file"; done +for file in $(find . -maxdepth 1 -type f -name "*.bin"); do gzip "$file"; done mv *.gz /host_dir/