pyramid - Making setup.py to point to local pypi repository -


Recently I found Pipe 2 PI, which is useful for installing a pip package from local PP repo. I follow it to post here

But when I use the setup tool, I do not know how I can use it to my local repo. When I run "Python setup.py development", I do not want to download the package every time I am starting with the pyramid, and if I make a new VirtualNen every time I can avoid downloading the package.

Thank you in advance

Here's the solution:

  $ python setup.py egg_info  

The directory above creates the directory {PackageName} .egg-info and require.txt file in one, but nothing downloads. You can use the needs.txt file to install dependency:

  $ pip install -r {PackageName} .egg-info / require. After this, you can install your application without the Internet:   

Pre> $ python setup.py development


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -