Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

Last modified 16 years ago

#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 Christopher Lenz)

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 daniel, 19 years ago

Milestone: 0.8
Priority: normalhighest
Severity: normalblocker

Very true indeed.

siteconfig.py should be generated at build in setup.py, rather than install… otherwise siteconfig.py will be absent.

comment:2 by daniel, 19 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 Daniel Lundin <daniel@…>, 18 years ago

Component: trac-admingeneral

comment:4 by daniel, 18 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.exesiteconfig.py should be generated at ''build''

comment:5 by Jonas Borgström, 18 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 Jonas Borgström, 18 years ago

Milestone: 0.80.9

I don't see how we can solve this, not for 0.8 anyway…

comment:7 by anonymous, 18 years ago

Keywords: win32 added

comment:8 by Christopher Lenz, 18 years ago

We could probably use the --install-script option for this.

comment:9 by Christopher Lenz, 18 years ago

Milestone: 0.90.8.2
Owner: changed from daniel to Christopher Lenz
Status: newassigned

I'm implementing this for the 0.8.2 release today.

comment:10 by Christopher Lenz, 18 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

This should be fixed in [1745], ported to the 0.8 branch in [1746].

comment:11 by sid, 16 years ago

Keywords: win32 removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.