Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 12 years ago

#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 Emmanuel Blot, 17 years ago

Keywords: setup windows added; trac.cgi python.exe removed
Severity: normalminor

This is likely to be a windows-only issue, as the scripts use the following she-bang line:

#!/usr/bin/env python

which gives the proper path to the Python interpreter on all environments (but Windows?)

comment:2 by Noah Kantrowitz, 17 years ago

Milestone: 0.11
Resolution: worksforme
Status: newclosed

This is already fixed in trunk, which uses setuptools' script generation facility to build the wrapper .exes.

comment:3 by Christian Boos, 12 years ago

Milestone: 0.11

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.