New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with man pages #2374
Comments
Are you sure they're not installed by Python 3? Looking at the code, I think they'll be installed, but they'll still be called |
Here's a log of the Python 2.7 install: http://pastebin.com/L4RJXnVn It contains:
Here's a log of the Python 3.2 install: http://pastebin.com/7k9zDyty and you'll see there are never such lines. Any ideas? |
For the record, I'm on MacOS 10.6.8, and installing from 6f74560 |
The closest there is in the 3.2 log is:
but it never copies the actual man pages. |
On Linux I get a block of lines like this:
|
Interesting - I also tried on MacOS 10.7 and I have the same issue (and I tried installing into a virtualenv, and also didn't have any success). |
From the IPython checkout root directory, can you try this under Python 2 and 3:
|
I think I've identified the issue, I will submit a PR shortly. |
...of course, the list comprehension in that last line is pointless. I was fiddling around with different things and forgot about it. |
Great, I look forward to reading it. |
I've opened a pull request in #2377. The reason that I say the fix is partial is because I do now get the same lines as you, i.e.
but when installed, the man pages stay inside the egg, and aren't installed to the actual |
Do we want this one in 0.13.1? Seems like it. |
The As far as I know there is no facility to rename the files on installation, so we'll need another mechanism to have the correct man page names ( |
That makes sense - setupegg.py runs setup.py with setuptools/distribute, |
Now that #2377 has been merged, is there a remaining task here? The python3 man page names do not match the program names ( |
This fixes a bug that caused man pages to not be installed in Python 3 when running from the source tree. The issue was that in Python 3, an empty filter is not an empty list, so ``if not manpages`` could not be satisfied. By using ``list()``, we can ensure that we convert the filter iterator to a list in Python 3. This partially fixes ipython#2374.
I've run into issues with how ipython installs its man pages:
The text was updated successfully, but these errors were encountered: