Opened 19 years ago
Closed 19 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 , 19 years ago
comment:2 by , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.
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.