milkman icon indicating copy to clipboard operation
milkman copied to clipboard

`pip install milkman` fails with "[ERROR] Cannot find file specified as ``long_description``"

Open davidwtbuxton opened this issue 11 years ago • 5 comments

Installing the current milkman from pypi with pip install milkman (version 0.5) fails with the message:

[ERROR] Cannot find file specified as ``long_description`` (/Users/david/virtualenvpath/build/milkman/docs/index.txt)

This is cos the source distribution does not include the docs and the setup.py script chooses to fail.

This should be changed either to include the description file or to allow it to be missing. Also the license description in setup.py has changed to BSD, and the *.egg-info directory created by the distribution script gets included in the source distribution.

davidwtbuxton avatar Feb 10 '14 17:02 davidwtbuxton

@ccollins , this issue is still happening, more than a year after a patch was submitted. Any chance you could merge it and publish to PyPI, please?

jsaz avatar Feb 02 '15 19:02 jsaz

This is affecting me to. Not sure about @davidwtbuxton's fork because it has a lot more than just the fix for this. It sure looks to me like whoever did the 0.5 release just didn't have setuptools-git installed:

https://pypi.python.org/pypi/setuptools-git

And so non-python files weren't included. If someone could just bump the version and do a release with setuptools-git installed it would probably fix this. I'd be happy to do that if someone would give me release rights on PyPI.

rpatterson avatar Feb 04 '15 00:02 rpatterson

I confirmed that doing 'python setup.py sdist' using a python with setuptools-git installed produces a tarball that does include the missing file.

rpatterson avatar Feb 04 '15 00:02 rpatterson

Bump? This bug means I have to do some non-typical dependency stuff for every project.

rpatterson avatar Mar 03 '16 21:03 rpatterson

I've worked around this by uploading my own 0.5.1 release and added it's URL to pip's or easy_install's find-links.

rpatterson avatar Mar 04 '16 19:03 rpatterson