On Sun, Mar 1, 2009 at 11:06 PM, Jorge Vargas <[email protected]> wrote:
>
> On Sun, Mar 1, 2009 at 11:10 PM, Lukasz Szybalski <[email protected]> wrote:
>>
>> On Sun, Mar 1, 2009 at 2:53 PM, Mark Ramm <[email protected]> 
>> wrote:
>>>
>>> Looks like beta 6 is doing pretty well except for the repoze.who
>>> install issues.
>>>
>>> I line with "practicality beats purity" I think we should explicitly
>>> add repoze.who to he tg.devtools reqirements list so that it gets
>>> installed directly, and before any of our other dependencies.   This
>>> will make things "just work" again and should provide an improved
>>> install experience.
>>>
>>> Also we may want to tell people how to use our index for setup.py
>>> develop on their quickstarted projects so that they can avoid the pypi
>>> problems that people have recently reported to the list.
>>
>> is setup.py develop required?
>>
>> When deploying the app via modwsgi, you don't want to install the
>> package you want to deploy. If setup.py deploy is required then it
>> needs to be installed, all the requirements pulled, and then the
>> package has to be uninstalled.
>>
> python setup.py install will be equivalent.

There reason you don't want to python setup.py install or develop is
because that puts all you code in libs(site-packages) folder. When you
run the app under modwsg/apache your app will be read from
site-packages instead of your deployment folder.

This means every time you need to deploy an app you will have to do:

cd myapp
python setup.py install
easy_install -m myapp

If that is final of what tg2.0 will do then this needs to be
documented otherwise deployment will happen from the wrong folder. I
assume this change has happen in tg2b6, correct?

Thanks,
Lucas

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

Reply via email to