uyar / pygenstub

A utility for generating stub files from docstrings in Python source files.
GNU General Public License v3.0
9 stars 3 forks source link

1.4 doesn't install from pip #2

Closed Dutcho closed 4 years ago

Dutcho commented 5 years ago

pip install pygenstub fails with File Not Found Error two versions back is okay pip install pygenstub==1.2 seems to work

uyar commented 5 years ago

@Dutcho I can't reproduce this. I've tried with a clean virtual environment and all of the following commands worked:

pip install pygenstub
pip install pygenstub==1.4.0
pip install pygenstub==1.4

Version 1.3 was also installed correctly. Could it be related to your pip cache?

Dutcho commented 5 years ago

sorry, didn't state what was obvious for me, but what you couldn't possibly know: I run pip from StaSh in Pythonista on iPad

Now used workaround of just copying (wget, no pip) pygenstub as suggested by @hmartin at Pythonista forum, which works well

uyar commented 5 years ago

I don't have access to the environment you're describing but even if I did, I probably wouldn't be able to figure this out since I have no familiarity with these tools. Anyway, the suggested workaround makes sense. pygenstub is a single file script with docutils being the only non-stdlib dependency. I will keep this issue open for a while in case anybody comes up with a solution or with another case where pip install fails.