python - easy_install -f vs easy_install -i -


This is related to the question, I had asked some time ago.

The last game I want to be able to install my package "identity.model" and all dependencies. Like ...

easy_install -f http://eggs.sadphaeton.com search for identity.model identification.reading http://eggs.sadphaeton.com Pypi.python.org/simple/identity.model/ Index page for 'identity.model' was not found (probably misspelled?) Index of all packages is being scanned (this may take some time) http: // Pypi.python No local packages or download links found for .org / simple / identity.model error: The appropriate distribution could not be found for Requirement.parse ('identity.model').

The reason for running this is the easy_install hit page by which I

my index.html

  & lt ; Html & gt; & Lt; Top & gt; & Lt; Title & gt; Sadafatan Egg Repository & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; A rel = "homepage" href = "alkmexara" & gt; Alchemyextra & lt; / A & gt; & Lt; A rel = "homepage" href = "identity.model" & gt; Recognise. Model & lt; / A & gt; & Lt; A rel = "homepage" href = "repoze.what.plugins.config" & gt; Repoze.what.plugins.config & lt; / A & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

If I'm running ...

  $ easy_install -i http://eggs.sadphaeton.com identity.model  < / Pre> 

This is getting my package and repoze.what.plugins.config I put it there because it is a dependency, however, when it is tw.forms (external dependency is hosted on PP) If it goes to bring it ends with failure because it is only searchable

Obviously I have misunderstood "fiction". Does anyone know what the trick is?

-f URL will give it to you, and look for the package there, as well as the PyPI. An example of such a page is as you see, this is a list of distribution files.

Along with the -i you define the main index page, it checks that the index page is an index of the package, not the distribution files.

Then in your case easy_install -i http://eggs.sadphaeton.com should work to download identity.model identity. And it did for me, twice in the middle, but for the first time neither the second time. I do not know if you are trying different formats? But in any case, it will fail in two forms because it is not on your index page.

So the solution should be on the page that happens to your egg. I do not know how accurate the format should be, but I think it's quite flexible.

Update:

Here's a step to the solution:

  1. Keep all your distributions in one directory.
  2. The CD in that directory.
  3. Type python -c "SimpleHTTserver from import test; test ()"
  4. Type easy_install -f http: // localhost : 8080 / lt; Modulename & gt;

This module will install


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -