Remy Blank-2 wrote:
>
> Ryan J Ollos wrote:
>> The Development Environment page says:
>> "If you have trac installed in /usr/lib or /usr/local/lib, make sure to
>> run
>> the above virtualenv command with --no-site-packages."
>
> Ah, yes, that makes sense if you run a "real" Trac instance on your
> development machine. It does make development setup more difficult.
>
> You could use --no-site-packages, and try symlinking the dependencies
> from /usr/lib into your virtualenv's site-packages (e.g. svn, libsvn,
> pytz, pygments, ...).
>
> -- Remy
>
Would it also make sense to use --no-site-packages when installing multiple
virtualenv to develop on multiple versions of Trac (e.g. 0.11.7dev and
0.12dev)?
I'm seeing some errors when trying to switch between development
environments. For example, I get an error that seems to be related to the
0.12dev environment, when trying to start the 0.11.4 development environment
(did not use --no-site-packages when setting up these virtualenv's),
(trac0114dev)rjol...@pc-rjollos-ubuntu-server-9:~/tracdev/trac0114dev$ tracd
-r --port 8000 tracdev
Traceback (most recent call last):
File "/usr/local/bin/tracd", line 5, in <module>
from pkg_resources import load_entry_point
File
"/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py",
line 2607, in <module>
File
"/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py",
line 565, in resolve
error that occurred. Usually this will be a ``DistributionNotFound`` or
pkg_resources.DistributionNotFound: Trac==0.12dev-r9001
--
View this message in context:
http://old.nabble.com/Questions-about-setting-up-Trac-development-environment-tp27011625p27171459.html
Sent from the Trac Dev mailing list archive at Nabble.com.
--
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=en.