Well, I have come up with a solution for how to get the man page in the right place, but I am not very happy with it. Here it is:
#!/usr/bin/env python import distribute_setup distribute_setup.use_setuptools() from setuptools import setup # Use the distutils version of the install command rather than the one from # distribute because it puts the man page in an inaccessible place from distutils.command.install import install setup( name='ec', ..., cmdclass = {'install': install}, data_files=[ ('man/man1', ['ec.1']) ] ) Here, I use cmdclass to replace distribute's version of the install command with the older version from distutils. Rather than replace install, I did try to supplement it with code that simply moved the man page to the right place, but from within install there is no easy way to get the name of the directory where the data files are placed. The resulting code seemed overly complicated and fragile, so I abandoned that approach. While I appreciate the reason why the data files are now placed in the site-packages directory, this change seems to break support for man pages (unless I am missing something). And since man pages should be supplied for all executables, this seems like a serious issue. Perhaps there should be dedicated support for man pages in much the same way there is dedicated support for scripts. -Ken _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig