Just a follow up on what I did to get it working.  Working here means
to be able to checkout a project and run a command to start the server
(no installs or hitting external sites to download stuff).  This must
work on XP, but main development is going on in OSX and linux.

* Created a virtualenv for pylons dependencies
* Created a pylons project using said env
* Removed references to simplejson in Pylons and WebError requires.txt
files.  (I know that my XP box has Python 2.6 on it which includes
json).  Since simplejson has c libraries, the virtualenv version won't
work on windows (it's linux specific).
* Created a simplejson.py stub in virtualenv site-packages that has
the following "from json import *"
* Created a batch file that runs the server :


SET PYTHONPATH=pylonsenv\lib\python2.6\site-packages;pylons_server\
python pylonsenv\bin\paster serve pylons_server\development.ini

Now it works on my linux dev box and the ms deploy box.  I realize
this might be a contrived example, but it's what the doctor... (er
client) ordered.

cheers,
-matt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to