Open jpellerin opened 12 years ago
This is an annoying issue, which appears to break stuff in the wild, such as https://github.com/OpenBazaar/OpenBazaar-Server/issues/325 There exists another issue about the same thing which was closed, with more details; https://github.com/nose-devs/nose/issues/731 related rejected PR: https://github.com/nose-devs/nose/pull/765 The following Dockerfile currently fails:
FROM ubuntu:14.04 # fail on debian:wheezy as well
RUN apt-get update && apt-get install python-pip
RUN pip install --upgrade pip
RUN pip install nose==1.3.6
RUN pip install nose==1.3.7
...
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: '/usr/local/man/man1'
pip uninstalling twice (for whatever necessary reason) also seems to work (allows upgrade).
Affected by this on latest Raspbian Jessie, had to create the /usr/local/share/man directory (don't need mans, just needed it to work here and now). Maybe at least temporarily work around this issue if the file is not found, until the prefix can be figured out?
setup.py wants to put the man page in ${PREFIX}/man/man1, but that's only right some of the time. We need to figure out how to find the man prefix for the target system and use that to set data_files correctly -- or something like that.