Hello, To begin with, I've added '-mkdir -p $(BUILD_DIR)' to doc/Makefile to make sure the output directory for ReST-to-HTML conversion exist before calling Sphinx - at least some versions of sphinx-build appear to expect that directory to exist and fail if it doesn't. Of course mkdir will return an error if the directory in question is already there; instead of introducing a test for that, I have opted for ignoring the return value of that command (if the error is about something else than the directory already being there, sphinx-build will catch it). See my 'doc_make' branch:
http://github.com/mkszuba/pygr/commit/28f1a35739ba8a3d463a2f489fb10d5d09f1419b Secondly, it took me a while but I've finally figured out why 'python setup.py bdist_rpm' didn't work for me! Turns out this is a bug in Fedora (all versions up to and including 10, despite the bug having been reported in 2007), where the bytecode compiler used during RPM building produced .pyo files but didn't register them as packaged. Since Fedora devs decided in their wisdom not to backport the fix (and many versions affected by this bug are no longer supported), IMHO it makes sense to have Pygr enable the workaround, which is very simple - enable bytecode optimisation by default (by setting this in setup.cfg) for the install phase. This makes bdist_rpm work correctly on Fedora, and IMHO most people who actually get to the install phase will WANT to have optimised bytecode installed (then again, I'm open to discussion). You will find the relevant commit, along with a few other RPM-related changes, here (the 'rpm' branch): http://github.com/mkszuba/pygr/commit/44f30c069707107d091f726ac59d33d8e45d0a2f By the way, I've noticed something interesting. After implementing all the fixes from my 'rpm' branch I have become able to build RPM packages of Pygr - but only in setuptools mode! If distutils are used, the process fails due to... gcc not being able to find cgraph.h. Weird, isn't it? Fortunately this is not a critical problem (building different packages is mostly for us, not end-users) but it would be good to figure this out nevertheless. Cheers, -- MS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pygr-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pygr-dev?hl=en -~----------~----~----~----~------~----~------~--~---
