#5204 closed enhancement (worksforme)
automatically set correct python folder on Windows
Reported by: | Luke1410 | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.10.4 |
Severity: | minor | Keywords: | setup windows |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The files trac-admin(.py), trac.cgi and trac.fcgi need the absolute path for the python.exe as their first line to properly find and run the scripts.
Currently the user has to change it manually, even when using the installer.
It would be a nice feature if the installer could set the python path properly, so trac, once correctly set up, will work without any other user interaction even after upgrading to a new version.
Attachments (0)
Change History (3)
comment:1 by , 18 years ago
Keywords: | setup windows added; trac.cgi python.exe removed |
---|---|
Severity: | normal → minor |
comment:2 by , 18 years ago
Milestone: | → 0.11 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
This is already fixed in trunk, which uses setuptools' script generation facility to build the wrapper .exes
.
This is likely to be a windows-only issue, as the scripts use the following she-bang line:
which gives the proper path to the Python interpreter on all environments (but Windows?)