This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
Releases: dmerejkowsky/dmenv
Releases · dmerejkowsky/dmenv
v0.14.1
- Fix incorrect
--help
message - Better error handling when virtualenv or binary path do not exist
- Fix typo in
setup.cfg
template
All reported by @theodelrieu. Thanks, man.
v0.14.0
v0.14.0
v0.13.0
v0.12.0
Show outdated dependencies
- Use
dmenv show:outdated
to show outdated dependencies.
Allow access to system site packages
dmenv install
anddmenv lock
commands learned the--system-site-packages
option to create virtual environments that have access to packages installed globally on the system.
Allow skipping dev dependencies
This is done with the --production
flag. For instance, dmenv --production install
.
dmenv --production lock
will create a production.lock
that contains no development dependencies.
Breaking changes
Virtualenv location has changed to allow both production and full virtual environments to coexist:
- When using
DMENV_VENV_OUTSIDE_PROJECT
version | location |
---|---|
<= 0.11 | DATA_DIR/dmenv/venv/3.7.1/foo/ |
>= 0.12, default | DATA_DIR/dmenv/venv/dev/3.7.1/foo/ |
>= 0.12, with --production | DATA_DIR/dmenv/venv/prod/3.7.1/foo/ |
- Otherwise:
version | location |
---|---|
<= 0.11 | .venv/3.7.1/foo/ |
>= 0.12, default | .venv/dev/3.7.1/foo/ |
>= 0.12, with --production | .venv/prod/3.7.1/foo/ |
Migrating from 0.11
- Run
dmenv clean
withdmenv 0.11
to clean up the deprecated location - Upgrade to
dmenv 0.12
- Run
dmenv install
to create the new virtual environment
v0.11.1
- Fix metadata on crates.io to include new tagline.
v0.11.0
- Add
dmenv show:bin_path
to show the path of the virtual environment binaries.
Breaking changes
- Fix #31: make sure the wheel package gets frozen when running
dmenv lock
. Note: this also causes other packages likesetuptools
andpip
itself to get frozen. As a consequencedmenv install
no longer upgrades pip automatically, and so the--no-upgrade-pip
option is gone.
v0.10.0
- Allow using
dmenv
outside the current project, by setting an environment variable namedDMENV_VENV_OUTSIDE_PROJECT
.
v0.9.0
v0.9.0
v0.8.4
v0.8.3
v0.8.3