Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#2633 closed enhancement (wontfix)

add .py extension to trac-admin.py

Reported by: iheitlager Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Could we please have a trac-admin with .py extension installed in the PythonXX\Scripts folder. In Windows we need that extension. That way it can run off the shelf after installation.

Thanks for your wunderful product. I am a big fan an sponsor (about to hook on company #3) You should have a PayPall donate/sponsor button.

Attachments (0)

Change History (2)

comment:1 by Matthew Good, 18 years ago

Adding ".py" would allow Explorer to launch the file with the Python interpreter, but you can't provide the path of the Trac project this way, and the extension still wouldn't allow you to run the file directly from the command line. The one option that comes to mind is a "trac-admin.bat" file that would run the script.

comment:2 by Christopher Lenz, 18 years ago

Resolution: wontfix
Status: newclosed

trac-admin can be used on windows as is. When we move to setuptools, we'll provide a console_scripts extension point that will automatically install a trac-admin.exe wrapper on windows.

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.