- Added support for pyproject.toml (thanks to @sla-te, issue #22)
Source code tree | Tarball | Commit history
- Support another edge case: "make -R" (running without builtin variables)
- Minor documentation improvements
Source code tree | Tarball | Commit history
- Makefile.venv is now installable from PyPI
- No changes to Makefile.venv itself
Source code tree | Tarball | Commit history
- Added support for
py
entrypoint on Windows (thanks to @gschwaer, issue #15) - Improved cross-platform support: now Windows without a POSIX shell should
work too (wrappers for
cmd.exe
missing capabilities were added) - Minor improvements to debug messages and test suite common tools
Source code tree | Tarball | Commit history
- Move setup․py path to variable (SETUP_PY): now multiple paths are supported and setup․py processing may be skipped by providing empty value (issue #14)
- Improve documentation and extend test suite
Source code tree | Tarball | Commit history
- Install 'wheel' package automatically when creating virtual environment
Source code tree | Tarball | Commit history
- Allow REQUIREMENTS_TXT to be generated with a Makefile recipe
- Improve documentation
Source code tree | Tarball | Commit history
- Add
debug-venv
target for troubleshooting
Source code tree | Tarball | Commit history
- Mark paths with spaces as unsupported
- Do not convert WORKDIR into absolute path
- Sanitize path when removing VENVDIR - avoid destructive consequences of paths with spaces
Source code tree | Tarball | Commit history
- Update setuptools when creating venv
- Trigger venv update on setup.cfg changes
Source code tree | Tarball | Commit history
- Use Python to detect if Windows paths are required. This helps to avoid mistakes when using different combinations of Cygwin/native Windows environments. Thanks to @jpc4242
Source code tree | Tarball | Commit history
- New configuration variable: FORCE_UNIX_PATHS. If this variable is set, unix-like file paths are assumed and no Windows detection takes place. Thanks to @jpc4242 for reporting the issue with Cygwin.
Source code tree | Tarball | Commit history
- Upgrade pip only at initial environment creation. This helps to avoid build failures with old Python versions where pip can not be upgraded to newer releases. Example
Source code tree | Tarball | Commit history
- Support multiple requirements.txt files via REQUIREMENTS_TXT environment variable
Source code tree | Tarball | Commit history
- Virtual environment creation happens only once. Dependencies change does not
trigger a redundant call to
-m venv
if environment already exists.
Source code tree | Tarball | Commit history
- New pattern rule for rarely used dependencies (CLI tools in virtual environment)
- Improved code readability and documentation
Source code tree | Tarball | Commit history
- Automated testing for new releases with GitHub CI
- Deduplicated code for interactive shell targets
Source code tree | Tarball | Commit history
- Cleaner process tree thanks to launching interactive shells via
exec
Source code tree | Tarball | Commit history
- New targets for interactive shells in virtual environment:
make bash
,make zsh
- Promotional post in author's blog: https://potyarkin.com/...
Source code tree | Tarball | Commit history
- First reusable version of Makefile.venv. All essential features are available.