Setup.py index url




















Found solution when using Dockerfile: RUN cd flask-mongoengine Why create it at docker build time? JasonHarrison It's not create but append. Please use pip moving forward. You can do one of the following: provide --index-url flag to pip command define index-url in pip.

Lovato Lovato 2, 1 1 gold badge 13 13 silver badges 20 20 bronze badges. Tommy Tommy I don't think this is correct. The question asks specifically about controlling what setup. I ended up ditching the setup. The only things it expects is a list of strings with deps version details, etc. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.

The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Visit chat. How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more.

How to add a package-specific index-url to requirements. Ask Question. Asked 2 years, 6 months ago. Active 2 years, 6 months ago. Viewed 5k times. Is this the right approach? Improve this question. The pip install -r requirements. Do you know how people handle the issue of requirements coming from different sources?

I'd say it depends on your use case. While you can use command line parameters with pip to indicate the location of your package index server, you can also modify or create a special pip configuration file called pip. On Windows, you can place a pip. Use the extra-index-url option to tell pip where your alternate package index lives. The example below assumes the name of your server is pypi.



0コメント

  • 1000 / 1000