mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-15 06:53:52 -05:00
Compare commits
3 Commits
master
...
75d422dcec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75d422dcec | ||
|
|
ebef09bf3d | ||
|
|
a54be0cab2 |
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@@ -6,9 +6,8 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-24.04
|
||||
- ubuntu-22.04
|
||||
- macos-15
|
||||
- ubuntu-20.04
|
||||
- macos-14
|
||||
- macos-13
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
2
LICENSE
2
LICENSE
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2025 Yamashita, Yuu
|
||||
Copyright (c) 2015 Yamashita, Yuu
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
|
||||
@@ -28,12 +28,6 @@ From inside that directory you can:
|
||||
- Get the latest development release by running `git pull` to download the
|
||||
latest changes.
|
||||
|
||||
💡 **WSL note:** If you're using WSL, we recommend setting Git to use Unix-style line endings to prevent script execution errors:
|
||||
|
||||
```sh
|
||||
git config --global core.autocrlf input
|
||||
```
|
||||
|
||||
1. **Check out pyenv-virtualenv into plugin directory**
|
||||
|
||||
```bash
|
||||
@@ -88,7 +82,7 @@ brew install --HEAD pyenv-virtualenv
|
||||
```
|
||||
|
||||
After installation, you'll still need to do
|
||||
[Pyenv shell setup steps](https://github.com/pyenv/pyenv#b-set-up-your-shell-environment-for-pyenv)
|
||||
[Pyenv shell setup steps](https://github.com/pyenv/pyenv#basic-github-checkout)
|
||||
then add
|
||||
```sh
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
@@ -214,9 +214,11 @@ if [ -d "${prefix}/conda-meta" ] ||
|
||||
case "${shell}" in
|
||||
fish )
|
||||
echo "set -gx CONDA_DEFAULT_ENV \"${CONDA_DEFAULT_ENV}\";"
|
||||
echo "set -gx CONDA_PREFIX \"${prefix}\";"
|
||||
;;
|
||||
* )
|
||||
echo "export CONDA_DEFAULT_ENV=\"${CONDA_DEFAULT_ENV}\";"
|
||||
echo "export CONDA_PREFIX=\"${prefix}\";"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
@@ -88,7 +88,7 @@ if [ -d "${prefix}/conda-meta" ] ||
|
||||
shopt -s nullglob
|
||||
case "${shell}" in
|
||||
fish )
|
||||
: # conda doesn't support fish
|
||||
echo "set -e CONDA_PREFIX"
|
||||
;;
|
||||
* )
|
||||
for script in "${prefix}/etc/conda/deactivate.d"/*.sh; do
|
||||
|
||||
Reference in New Issue
Block a user