#518 closed defect (fixed)
siteconfig.py should be generated at ''build''
Reported by: | pLu | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | highest | Milestone: | 0.8.2 |
Component: | general | Version: | 0.7.1 |
Severity: | blocker | Keywords: | windows install |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
The file siteconfig.py seems to be missing from the package trac-0.7.1.win32.exe.
Traceback (most recent call last): File "trac-admin", line 34, in ? import trac.siteconfig ImportError: No module named siteconfig
Attachments (0)
Change History (11)
comment:1 by , 21 years ago
Milestone: | → 0.8 |
---|---|
Priority: | normal → highest |
Severity: | normal → blocker |
comment:2 by , 21 years ago
An interim solution is to install from the source tarball/zip file, the siteconfig will be automatically generated when you run python setup.py install
.
comment:3 by , 20 years ago
Component: | trac-admin → general |
---|
comment:4 by , 20 years ago
Keywords: | windows install added; siteconfig.py trac-0.7.1.win32.exe removed |
---|---|
Summary: | siteconfig.py missing in trac-0.7.1.win32.exe → siteconfig.py should be generated at ''build'' |
comment:5 by , 20 years ago
We can't generate siteconfig.py at "build" because the installation prefix is not yet known. The installation prefix is determined by the "install" command.
How does the windows installer work? Does it let us run some code before/after the installation?
comment:6 by , 20 years ago
Milestone: | 0.8 → 0.9 |
---|
I don't see how we can solve this, not for 0.8 anyway…
comment:7 by , 20 years ago
Keywords: | win32 added |
---|
comment:9 by , 20 years ago
Milestone: | 0.9 → 0.8.2 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
I'm implementing this for the 0.8.2 release today.
comment:10 by , 20 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
This should be fixed in [1745], ported to the 0.8 branch in [1746].
comment:11 by , 18 years ago
Keywords: | win32 removed |
---|
Very true indeed.
siteconfig.py should be generated at build in setup.py, rather than install… otherwise siteconfig.py will be absent.