don't forget...

On Fri, Nov 20, 2009 at 10:19 AM, Christian Boos <[email protected]> wrote:
> Eli wrote:
>> On Thursday 19 November 2009 12:21:16 pm Christian Boos wrote:
>>
>>> Well, it's hard to believe that people wanting to install a recent Trac
>>> version couldn't also take the extra 5 minutes needed to download and
>>> install the pysqlite 2.x bindings, if they're using Python 2.4.
>>>
>>
>> It's yet another 5 minutes, and "it's hard to believe" that it would only be 
>> 5
>> minutes of additional work to figure out what was needed, determine that it
>> was not available for the distro,
>
> If it's more than 5 minutes, then our installation documentation has a
> problem, and that's *not* hard to believe :-)
> So up to this point I agree, but not for the following:
>
>> locate the correct website, download the right version,
>
> A link to http://code.google.com/p/pysqlite/downloads/list in the
> INSTALL file
> and TracInstall page would be enough. Did that in [8830].
>
>> hunt down the build dependencies, build and package the
>> dependency, and install it.
>>
>
> No, as that's a simple matter of doing:
>
> $ wget http://pysqlite.googlecode.com/files/pysqlite-2.5.6.tar.gz
> $ tar xvfz pysqlite-2.5.6.tar.gz
> $ cd pysqlite-2.5.6
> $ python setup.py build_static install
>
> No extra dependencies. As I said before, the above will automatically
> fetch the latest SQLite and bundle it within the _pysqlite.so module, so
> there's no interference with the "system" sqlite.
>
> (easy_install pysqlite doesn't work well right now, I've e-mailed
> Gerhard about that; if someone knows how to clear the old links in
> http://pypi.python.org/simple/pysqlite/, please let us know)
>

if from a repo, it may be handy to add a PYTHONPATH entry so it can be
found - or make a .pth file in /usr/lib64/python2.5/site-packages/
        (YDMV)
being there and being found makes it work.

thx All

--

You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=.


Reply via email to