Comments (2)
Today I created a .venv and ran py -m pip -V
to confirm it was using the venv before I realized I wasn't using python-launcher, but was instead using the original Windows python launcher that's bundled with Python. I came here to see if this project had any plans to support Windows, and was pleasantly surprised to find the milestone.
from python-launcher.
Perhaps another way to tackle this problem could be to migrate venvs to use bin/
instead of Scripts/
. Reduce the divergence across platforms and save the hassle of the divergent behavior for many other libraries and applications. It would be some churn, but the disruption could likely be mitigated with some symlinks or hard links. IIRC, the divergent behavior was entirely artificial and unnecessary. Probably the hardest impediment to making the switch would be where to coordinate the change, given there are two popular implementations of "virtual environments" (virtualenv and venv), one of which is in the stdlib.
Amendment: I remember now, the Scripts
convention doesn't come originally from virtualenv - it comes from Python's implementation itself, which uses Scripts
instead of bin
in its install layout. Quite the thread to pull on.
* pulls thread
python/cpython#97586 proposes to make bin
available as a junction. python/cpython#58510 proposes to rename it. Apparently it's not impossible to move install locations (although to be sure, it's certainly more fraught today than in 2001. It looks like the origin of the Scripts directory was this commit to distutils.
from python-launcher.
Related Issues (20)
- Automate the execution of cog via `justfile` HOT 1
- Document the release process
- Add a FAQ entry about how to turn off `.venv` usage HOT 1
- No configurations support (or undocumentd) aka py.ini
- Manpage wording around `--list` and virtual environments confusing HOT 6
- Manpage typos HOT 3
- Local virtualenv not found on WSL2 HOT 2
- Support PEP 723 HOT 1
- Update `docs/requirements.txt`
- Add Repology badge to website
- Update installation instructions for NixOS package HOT 1
- Docs point to mousebender HOT 1
- Clarify how interpreters are found on PATH HOT 1
- Fix Clippy warning about dead code
- tag a new release? HOT 6
- Add a justfile recipe for running cog on `docs/install.md`
- Update `docs-venv` justfile recipe to delete any preexisting virtual environment
- Drop use of `actions-rs` actions
- Typo in FAQ
- Check cargo-wizard for optimizations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-launcher.