Distribute support added in zc.buildout

View: New views
15 Messages — Rating Filter:   Alert me  

Distribute support added in zc.buildout

by Tarek Ziadé :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

I have added in zc.buildout trunk the Distribute support.

The unified bootstrap now has a --distribute boolean option that
allows you to switch if you want.

its located here as usual :
http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py

Please try it !

I will wait a few days to make sure everything works as expected then
push a zc.buildout 1.4.2 release
that includes this change

Cheers
Tarek
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: Distribute support added in zc.buildout

by Hanno Schlichting-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Tarek,

On Fri, Oct 23, 2009 at 11:46 AM, Tarek Ziadé <ziade.tarek@...> wrote:
> I have added in zc.buildout trunk the Distribute support.

Cool!

> The unified bootstrap now has a --distribute boolean option that
> allows you to switch if you want.

What is the easiest / recommended way to tell the bootstrap to use
distribute by default?

I could live with a clear DEFAULT='setuptools' line at the top of the
module, so even if one changes that line, the diff to the original
isn't too large. Otherwise some config file would be the next but more
complicated option.

Thanks,
Hanno
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: Distribute support added in zc.buildout

by Tarek Ziadé :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 23, 2009 at 12:09 PM, Hanno Schlichting <hanno@...> wrote:

> Hi Tarek,
>
> On Fri, Oct 23, 2009 at 11:46 AM, Tarek Ziadé <ziade.tarek@...> wrote:
>> I have added in zc.buildout trunk the Distribute support.
>
> Cool!
>
>> The unified bootstrap now has a --distribute boolean option that
>> allows you to switch if you want.
>
> What is the easiest / recommended way to tell the bootstrap to use
> distribute by default?
>
> I could live with a clear DEFAULT='setuptools' line at the top of the
> module, so even if one changes that line, the diff to the original
> isn't too large. Otherwise some config file would be the next but more
> complicated option.
>

What about a "use-distribute" option in the [buildout] section in the
cfg file called with bootstrap ?

I need to investigate but I think it could be feasible to read the
.cfg file early in the bootstrap process
to read that option.

Altough, I'd like to have Jim's opinion about that

Tarek
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: Distribute support added in zc.buildout

by Encolpe Degoute :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tarek Ziadé a écrit :

> On Fri, Oct 23, 2009 at 12:09 PM, Hanno Schlichting <hanno@...> wrote:
>> Hi Tarek,
>>
>> On Fri, Oct 23, 2009 at 11:46 AM, Tarek Ziadé <ziade.tarek@...> wrote:
>>> I have added in zc.buildout trunk the Distribute support.
>> Cool!
>>
>>> The unified bootstrap now has a --distribute boolean option that
>>> allows you to switch if you want.
>> What is the easiest / recommended way to tell the bootstrap to use
>> distribute by default?
>>
>> I could live with a clear DEFAULT='setuptools' line at the top of the
>> module, so even if one changes that line, the diff to the original
>> isn't too large. Otherwise some config file would be the next but more
>> complicated option.
>>
>
> What about a "use-distribute" option in the [buildout] section in the
> cfg file called with bootstrap ?


Today we have setuptools and distribute. What would we have tomorrow?

distribution-tool = nothing|setuptools|distribute|pipeau

You can replace 'tool' by 'api', 'software' or want you want.

Regards,
--
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: Distribute support added in zc.buildout

by kiorky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Would be great,
specially if we can read the ~/.buildout/default.cfg to set up buildout to use
distribute once for all.

Tarek Ziadé a écrit :

> On Fri, Oct 23, 2009 at 12:09 PM, Hanno Schlichting <hanno@...> wrote:
>> Hi Tarek,
>>
>> On Fri, Oct 23, 2009 at 11:46 AM, Tarek Ziadé <ziade.tarek@...> wrote:
>>> I have added in zc.buildout trunk the Distribute support.
>> Cool!
>>
>>> The unified bootstrap now has a --distribute boolean option that
>>> allows you to switch if you want.
>> What is the easiest / recommended way to tell the bootstrap to use
>> distribute by default?
>>
>> I could live with a clear DEFAULT='setuptools' line at the top of the
>> module, so even if one changes that line, the diff to the original
>> isn't too large. Otherwise some config file would be the next but more
>> complicated option.
>>
>
> What about a "use-distribute" option in the [buildout] section in the
> cfg file called with bootstrap ?
>
> I need to investigate but I think it could be feasible to read the
> .cfg file early in the bootstrap process
> to read that option.
>
> Altough, I'd like to have Jim's opinion about that
>
> Tarek
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG@...
> http://mail.python.org/mailman/listinfo/distutils-sig
--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

signature.asc (269 bytes) Download Attachment

Re: Distribute support added in zc.buildout

by kiorky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Encolpe Degoute a écrit :
> Tarek Ziadé a écrit :
>
> distribution-tool = nothing|setuptools|distribute|pipeau

Although i can maybe make my way with distribute even if it can break backward
compatibility somehow, I strongly dislike pip too. Moreover, if it's a forced
choice.

And even if it is for "future years", in a "very long time", all that it says it
that we will have breakages. How that sounds like regressions for me.
How about extra_requirements?
how about buildout? More over, when you see that the only recipe useful has some
strange things like:
env.update({
        ...
        'LDFLAGS': '-I%s' % include_dir,
})
That sounds like pretty unused stuff.

>
> You can replace 'tool' by 'api', 'software' or want you want.
>
> Regards,

--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

signature.asc (269 bytes) Download Attachment

Re: Distribute support added in zc.buildout

by Tarek Ziadé :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Oct 24, 2009 at 7:43 AM, kiorky <kiorky@...> wrote:

>
>
> Encolpe Degoute a écrit :
>> Tarek Ziadé a écrit :
>>
>> distribution-tool = nothing|setuptools|distribute|pipeau
>
> Although i can maybe make my way with distribute even if it can break backward
> compatibility somehow, I strongly dislike pip too. Moreover, if it's a forced
> choice.

Forced choice ? Not sure to understand that. The Packaging Ecosystem
is currently evolving
a lot because it's badly needed. Distribute will promote pip because
it does want to focus
on being that thin layer on the top of distutils.

But it's an installer. you will be able to write your own once PEP 376
is settled (like PyPM might do)

Please read this thread and all it answers for the motivations we have:

http://mail.python.org/pipermail/python-dev/2009-October/092754.html

Last, notice is written in stone, you both are very welcome to help us
in the discussions, or in the sprints.

Like the PEPs, the Distribute and Distutils development are a community process.

Tarek
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: Distribute support added in zc.buildout

by Lennart Regebro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/24 kiorky <kiorky@...>:
> Moreover, if it's a forced choice.

Unless your boss is forcing you, that's not a forced choice. :-)

> More over, when you see that the only recipe useful has some strange things like:

The only recipe useful? Huh. I guess nobody uses zc.buildout then.
That must be why it has so bad ratings on PyPI. ;)

A friendly recommendation: You need to get less negative. Seriously.

--
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: Distribute support added in zc.buildout

by kiorky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Tarek Ziadé a écrit :
> On Sat, Oct 24, 2009 at 7:43 AM, kiorky <kiorky@...> wrote:
>>
>> Encolpe Degoute a écrit :
>>> Tarek Ziadé a écrit :

> Last, notice is written in stone, you both are very welcome to help us
> in the discussions, or in the sprints.

You know why, my time is somehow limited.

One thing, i can do now without loosing much time is boring you there with silly
remarks :)

I cannot promise to be there, i may be there for some, though i hope, but i
can't schedule.

> Like the PEPs, the Distribute and Distutils development are a community process.

That's why even if i dislike some points upon it right now, i prefer it over
setuptools.


> Tarek

--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

signature.asc (269 bytes) Download Attachment

Re: Distribute support added in zc.buildout

by kiorky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Lennart Regebro a écrit :
> 2009/10/24 kiorky <kiorky@...>:
> The only recipe useful? Huh. I guess nobody uses zc.buildout then.
> That must be why it has so bad ratings on PyPI. ;)
If tomorrow frameworks i use, rely on that for deployment, it would be hard to
ignore it.

> A friendly recommendation: You need to get less negative. Seriously.
I'm not negative and i think things evolve quite well :)
I just want to make hard points not forgotten.
As a side note, on all the projects i manage, all is already switched to use
distribute.

--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

signature.asc (269 bytes) Download Attachment

Re: Distribute support added in zc.buildout

by kiorky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



kiorky a écrit :
>
> Lennart Regebro a écrit :
>> 2009/10/24 kiorky <kiorky@...>:
>> The only recipe useful? Huh. I guess nobody uses zc.buildout then.

And why i dislike so much pip is that i think it cannot provide me enough
isolation as zc.buildout can. I don't want to have one python(venv)/project and
afaik, i's the only way to do the same as i could do with buildout and shared
cache directories.

--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

signature.asc (269 bytes) Download Attachment

Re: Distribute support added in zc.buildout

by Lennart Regebro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/24 kiorky <kiorky@...>:
> If tomorrow frameworks i use, rely on that for deployment, it would be hard to
> ignore it.

Yes. But hard to ignore does not equal forced. And especially in open
source, where you always have the ability to improve or rewrite.

--
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: Distribute support added in zc.buildout

by kiorky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Lennart Regebro a écrit :
> 2009/10/24 kiorky <kiorky@...>:
>> If tomorrow frameworks i use, rely on that for deployment, it would be hard to
>> ignore it.
>
> Yes. But hard to ignore does not equal forced. And especially in open
> source, where you always have the ability to improve or rewrite.

In french that is called "mauvaise foi".
A nearly translation is  "You're acting in bad faith".

--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

signature.asc (269 bytes) Download Attachment

Re: Distribute support added in zc.buildout

by ssteiner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 24, 2009, at 5:43 AM, kiorky wrote:

>
>
> Lennart Regebro a écrit :
>> 2009/10/24 kiorky <kiorky@...>:
>>> If tomorrow frameworks i use, rely on that for deployment, it  
>>> would be hard to
>>> ignore it.
>>
>> Yes. But hard to ignore does not equal forced. And especially in open
>> source, where you always have the ability to improve or rewrite.
>
> In french that is called "mauvaise foi".
> A nearly translation is  "You're acting in bad faith".

Ok, why don't y'all go run off and have an argument in French and come  
back when you're done...and ready to play nice.

S

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: Distribute support added in zc.buildout

by kiorky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



ssteinerX@... a écrit :
>

> Ok, why don't y'all go run off and have an argument in French and come
> back when you're done...and ready to play nice.
Just read back in the mailing, i give such arguments. At leat today.

>
> S
>

--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

signature.asc (269 bytes) Download Attachment