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.

> I would prefer just install tg.devtools which has all the requirements
> and just copy my package into production server and run it from that
> directory?!!

This was the way it was before and it had the following problmes.
1- it mixes your package dependencies with those of turbogears
2- it does not allow you to not install unused packages (for example
Catwalk) if you don't use catwalk delete it from your project and it
won't be installed. if this was a dep in tg.devtools then there is no
way for you to not get catwalk unless you uninstall it on every
deployment.
3- it hides the fact that you need to run setup.py install/develop on
YOUR package if it has dependencies which produces many issues and
people should know up front.

So yes this is one more step but it allows quickstart to suggest some
packages instead of forcing them and it trains developers into
managing the dependencies for their packages instead of depending on
TG which (wrongly did so)

>
> Let me know if that's possible.
>
> Thanks,
> Lucas
>
>
>
>
>
>>
>> If there's no objection to these two changes, I'd like to try to
>> organize an official RC1 release for Tuesday March 3rd, which means
>> making those changes and getting the release ready tomorrow.
>>
>> --
>> Mark Ramm-Christensen
>> email: mark at compoundthinking dot com
>> blog: www.compoundthinking.com/blog
>>
>> >
>>
>
>
>
> --
> How to create python package?
> http://lucasmanual.com/mywiki/PythonPaste
> Bazaar and Launchpad
> http://lucasmanual.com/mywiki/Bazaar
>
> >
>

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