On Fri, Jul 20, 2012 at 11:07 AM, Christian Boos
<cb...@bct-technology.com> wrote:
> Hello Eduard,
>
>
> On 7/18/2012 9:31 AM, Eduard-Cristian Stefan wrote:
>>
>> Please give it a try, it's a portable installation of Trac
>> in a Python 2.7.3 x86 environment, available here:
>>
>>        https://bitbucket.org/alexandrul/bin/downloads
>>
>> Quick intro
>> ===========
>>
>> 1. Run "relocate.cmd"
>
>
> You can use relative paths in easy-install.pth:
>
> ../../../trac
> ../../../mercurial-plugin
>
> and also in the .egg-link files (but not 100% sure you even need them).
>
> Combined with the fact that if you prepare all the Scripts/*.py beforehand
> so that they start with simply:
>
> #!python.exe
>
> Then you don't even need relocate.{cmd,py}, at which points it becomes truly
> a portable installation!
>
>
>
>> 2. Run "env-sqlite.cmd" and choose an environment name
>
>
> ... if  you want to create a new environment, otherwise just use an existing
> one.
>
>> 3. Run "serve.cmd"
>
>
> ... or after calling settings.cmd (or call it tracvars.cmd?), just run
> tracd.
>
>
>> 4. Hack away in the Trac repository :D
>
>
> The main part ;-)
>
> Mention trac/ is a Mercurial repository, and that this hackable-Trac comes
> bundled with Hg (2.2.3).

I'd vote for implementing pluggable `import pkg_resources` mechanism
for Trac 1.0, so that you can just do `hg clone` and `python
bootstrap.py` to hack on Trac. We've done this for Spyder IDE and it
really helps to test and gather feedback for development.

http://trac.edgewall.org/ticket/10433
--
anatoly t.

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

Reply via email to