pip requirements file

Ethan Furman ethan at stoneleaf.us
Fri Aug 4 22:42:38 EDT 2017


 pip freeze
will output a list of current packages and their requirements. I have one package that falsely [1] lists another 
package as a requirement, which was blocking installation as the false requirement wasn't available.
Is there a way to modify that output (which would be piped to, for example, requirements.txt) to have
 pip install -r requirements.txt
so pip ignores that one (and only that one) dependency?
--
~Ethan~
[1] For the curious, the package is ZSA, and it list PyXML even though one of its modules says it was created 
specifically so PyXML is no longer needed -- and none of the modules import PyXML anywhere.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /