On 2012-07-20 11:07, Christian Boos wrote:
On 7/18/2012 9:31 AM, Eduard-Cristian Stefan wrote:
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!

Until the user installs a new package, which will use the full path to 
python.exe
in the installed scripts. This was never intended to be a "frozen" environment.
I prefer to provide a script to correct the python.exe location
rather than invite the users to edit (many) scripts by hand.

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.

It's just the quick start :D
Seasoned users will know their way around.

Mention trac/ is a Mercurial repository, and that this hackable-Trac comes 
bundled with Hg (2.2.3).

The package from this evening has a lot more goodies for a nicer experience:

Genshi==0.6
Jinja2==2.6
Pygments==1.5
Sphinx==1.1.3
-e 
hg+https://bitbucket.org/edgewall/trac/@80bfae7d9d7e18f15acd4c29652ea3bc8cfcd1bf#egg=Trac-trunk
-e 
hg+https://hg.edgewall.org/trac/mercurial-plugin/@852043605ea2ad0cc1b733c5b4164c36b68fd431#egg=TracMercurial-0.13
-e 
hg+https://bitbucket.org/alexandrul/trac-tags-plugin/@4e25d16b12d38c6fab9e1ccb7d46f3134b00b09c#egg=TracTags-dev
distribute==0.6.28
docutils==0.9.1
epydoc==3.0.1
logilab-astng==0.24.0
logilab-common==0.58.1
mercurial==2.2.3
pep8==1.3.3
psycopg2==2.4.5
pylint==0.25.2
pytz==2012d
reportlab==2.5
rst2pdf==0.92

I have bundled my mirror of the tags plugin (with proper PostgreSQL support in 
_need_migration).
Also pep8 and pylint are included for the ones that use them regularly
(maybe the new users will be interested too).

Thanks a lot for providing this! Feel free to advertize it from the appropriate 
pages on t.e.o, like TracDev pointing to TracDev/HackableTrac in which you give 
more details.

I will, after a few more iterations (I'm expecting some bugs somewhere, I'm not 
infailible).

Have a nice day,
  Eduard

--
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