GithubHelp home page GithubHelp logo

Comments (2)

jaraco avatar jaraco commented on September 26, 2024

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.

jaraco avatar jaraco commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.