Re: [Distutils] man pages

2012-08-09 Thread Ken Kundert
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

Re: [Distutils] Can I have distribute build a file for me?

2012-08-09 Thread Ken Kundert
Robert, Thanks that was very helpful. Here is what I have come up with: #!/usr/bin/env python import distribute_setup distribute_setup.use_setuptools() from setuptools import setup from distutils.command.build import build as _build class build(_build): # Overload the built-in build comma

[Distutils] Can I have distribute build a file for me?

2012-08-08 Thread Ken Kundert
Currently I am use an import in my setup script to build a file I need during the install. Specifically: #!/usr/bin/env python import distribute_setup distribute_setup.use_setuptools() from setuptools import setup import manpage # simply importing manpage creates the ec.1 as a side effect setup

[Distutils] man pages

2012-08-08 Thread Ken Kundert
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 --us