All,
I am converting from the old setup tools to distribute and am having
trouble
with installing man pages for my project.
The relevant part of my setup script is:
setup(
...,
scripts=['ec'],
data_files=[
('man/man1', ['ec.1'])
]
)
When I would install using the --user options, it would put the executable in
~/.local/bin and the man pages in ~/.local/man. In this way, once ~/.local/bin
is on my path, the man command would find the man page. However, when I use
distribute, it is now putting the man pages in the egg (in
~/.local/lib/python2.7/site-packages/ec-1.0-py2.7.egg/man). The documentation
seems to suggest that this is a feature rather than a bug, and I accept that,
but man pages seem special, like scripts. They need to go into a particular
place in order for the man command to find them, and putting them inside the
egg
is not helpful.
Does anybody have a suggestion on how to get the man pages to end up where they
belong?
-Ken
Sorry if this has already been discussed. I cannot figure out any easy way to
search the mailing list archives for this information.
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig