I am maintaining a package that includes several scripts, and I recently added a man page. Unfortunately, I was unable to figure out how to specify the man page with setuptools. I ended up switching back to vanilla distutils, which allowed me to specify the man page in setup.py:
data_files=[('man/man1', ['man/man1/pssh.1'])] Is there an equivalent way to do this with setuptools? The closest thing I could find in the setuptools documentation was, "Note, by the way, that this encapsulation of data files means that you can't actually install data files to some arbitrary location on a user's machine; this is a feature, not a bug." I appreciate the well-intended thought, but I can't find any feature for specifying man pages. I don't want to install to an arbitrary location, but I need to be able to install to $PREFIX/man/man1). Is there a way to do this with setuptools, or do I need to keep using distutils? I would love to be able to use the "console_scripts" feature, so it would be great if I could use setuptools, but obviously the man pages are higher priority. I feel like I must be missing something obvious. Thanks. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig