The setup.py script lists the Python script as a 'data file', alike:
data_files=[("bin", ["gflags2man.py"])],
while it should be a 'script' instead:
scripts=["gflags2man.py"],
Installing it a script will make sure that distutils correctly update the
Python shebang and make the script executable.
I'm attaching a patch fixing setup.py.
Original issue reported on code.google.com by mgo...@gentoo.org on 16 Dec 2012 at 3:41
Original issue reported on code.google.com by
mgo...@gentoo.org
on 16 Dec 2012 at 3:41Attachments: