Message46203
Logged In: YES
user_id=2772
I've wanted another related feature: I wrote an image
viewer program using pygame. It works nicely on windows and
unix.
In the source tree, I named the script with a .py extension,
but when installing on unix I want no extension, and when
installing on Windows I want a .pyw extension.
Whatever scheme is developed for naming installed scripts,
it should also allow renaming to .pyw on Windows.
My own setup.py replaces build_scripts so that the scripts=
parameter to setup is a mapping {installed_name : source
name}, and provides two functions WINDOWED(s) and
TERMINAL(s) to return s plus the appropriate extension, if any.
Like Fred, I don't think this is an ultimate solution.
My setup.py can be viewed:
http://unpy.net/cgi-bin/viewcvs.cgi/xvp/setup.py |
|
Date |
User |
Action |
Args |
2007-08-23 15:38:13 | admin | link | issue976869 messages |
2007-08-23 15:38:13 | admin | create | |
|