Giter Club home page Giter Club logo

Comments (9)

vbabiy avatar vbabiy commented on May 12, 2024

Seems to me this should be first built as an external tool (but not using
subprocess) , and if there are issues in pip or virtualenv that make that
difficult, we fix them. I think it's already pretty much all possible already,
using create_environment() and the RequirementSet API from pip. Once the
external tool has proved itself, then it could be considered to get merged
into pip or virtualenv.


Original Comment By: Anonymous

from virtualenv.

vbabiy avatar vbabiy commented on May 12, 2024

Oops, that was me ^^


Original Comment By: Carl Meyer

from virtualenv.

vbabiy avatar vbabiy commented on May 12, 2024

only creation is possible by some hacks, i don't see any way to handle
propperly invoking pip in the same way


Original Comment By: Ronny Pfannschmidt

from virtualenv.

vbabiy avatar vbabiy commented on May 12, 2024

Just for the record, an interesting project: http://github.com/thisismedium
/virtualenv-commands


Original Comment By: Jannis Leidel

from virtualenv.

vbabiy avatar vbabiy commented on May 12, 2024

Just to be clear, I don't think the APIs in pip are ideal for external use,
but I do think it's quite possible to use them externally. Just look at, say,
InstallCommand.run() and you can see how the RequirementSet class can be used
to build up a set of requirements for install, and then install them.

I think a lot of work could be done in pip to improve this, but it is possible
right now and I think the best way to improve it is to try with what's there.


Original Comment By: Carl Meyer

from virtualenv.

vbabiy avatar vbabiy commented on May 12, 2024

Oh, hm, I agree, an API for pip can lead to overengineering while a lot is
already there.

But an API for virtualenv would be useful to testing and automatic deployment
tools -- and I think this is where ronny is coming from.


Original Comment By: Jannis Leidel

from virtualenv.

thedrow avatar thedrow commented on May 12, 2024

Where is this going guys? Can I use create_environment() without fear?

from virtualenv.

Qu4tro avatar Qu4tro commented on May 12, 2024

https://github.com/sjkingo/virtualenv-api

Closely related to this issue.

from virtualenv.

stale avatar stale commented on May 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.

from virtualenv.

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.