PEP: Distributing a Subset of the Standard Library

2016-10-21 Thread Tomas Orsava
Hi! We have prepared a PEP that aims to standardize and improve what Fedora and other distributions have been doing for a while, that is splitting parts of Python's standard library to separate optional packages. Feedback is welcome: https://fedora-python.github.io/pep-drafts/pep-A.html A

Re: PEP: Distributing a Subset of the Standard Library

2016-09-08 Thread Tomas Orsava
On 09/07/2016 06:13 PM, Nick Coghlan wrote: On 7 September 2016 at 19:30, Tomas Orsava wrote: On 09/06/2016 08:25 PM, Nick Coghlan wrote: Very interesting, although I see a pragmatic problem with trying to check for explicitly missing packages only after checking for the standard library ones:

Re: PEP: Distributing a Subset of the Standard Library

2016-09-07 Thread Nick Coghlan
On 7 September 2016 at 19:30, Tomas Orsava wrote: > On 09/06/2016 08:25 PM, Nick Coghlan wrote: >> Very interesting, although I see a pragmatic problem with trying to >> check for explicitly missing packages only after checking for the >> standard library ones: the default import system doesn't ma

Re: PEP: Distributing a Subset of the Standard Library

2016-09-07 Thread Petr Viktorin
On 09/06/2016 08:25 PM, Nick Coghlan wrote: On 7 September 2016 at 02:41, Tomas Orsava wrote: Hi! I'm currently writing a PEP titled "Distributing a Subset of the Standard Library" to standardize and hopefully improve the behavior of Python without the its full standard library. This is releva

Re: PEP: Distributing a Subset of the Standard Library

2016-09-07 Thread Tomas Orsava
Hi! On 09/06/2016 08:25 PM, Nick Coghlan wrote: On 7 September 2016 at 02:41, Tomas Orsava wrote: Hi! I'm currently writing a PEP titled "Distributing a Subset of the Standard Library" to standardize and hopefully improve the behavior of Python without the its full standard library. This is r

Re: PEP: Distributing a Subset of the Standard Library

2016-09-06 Thread Nick Coghlan
On 7 September 2016 at 02:41, Tomas Orsava wrote: > Hi! > > I'm currently writing a PEP titled "Distributing a Subset of the Standard > Library" to standardize and hopefully improve the behavior of Python without > the its full standard library. This is relevant to Fedora, as we exclude > several

Re: PEP: Distributing a Subset of the Standard Library

2016-09-06 Thread Neal Gompa
On Tue, Sep 6, 2016 at 1:00 PM, Petr Viktorin wrote: > > Python does not have dependency generators. Dependendency information is > added to "setup.py" files, manually. > Even if you got Python to start providing dist data for stdlib packages, you > would still need to convince the developers of a

Re: PEP: Distributing a Subset of the Standard Library

2016-09-06 Thread Tomas Orsava
I forgot to include a link to a previous discussion of this topic on the python-dev upstream mailing list: https://mail.python.org/pipermail/python-dev/2016-July/145534.html Tomas On 09/06/2016 06:41 PM, Tomas Orsava wrote: Hi! I'm currently writing a PEP titled "Distributing a Subset of th

Re: PEP: Distributing a Subset of the Standard Library

2016-09-06 Thread Petr Viktorin
On 09/06/2016 06:46 PM, Neal Gompa wrote: On Tue, Sep 6, 2016 at 12:41 PM, Tomas Orsava wrote: Hi! I'm currently writing a PEP titled "Distributing a Subset of the Standard Library" to standardize and hopefully improve the behavior of Python without the its full standard library. This is relev

Re: PEP: Distributing a Subset of the Standard Library

2016-09-06 Thread Neal Gompa
On Tue, Sep 6, 2016 at 12:41 PM, Tomas Orsava wrote: > Hi! > > I'm currently writing a PEP titled "Distributing a Subset of the Standard > Library" to standardize and hopefully improve the behavior of Python without > the its full standard library. This is relevant to Fedora, as we exclude > sever

PEP: Distributing a Subset of the Standard Library

2016-09-06 Thread Tomas Orsava
Hi! I'm currently writing a PEP titled "Distributing a Subset of the Standard Library" to standardize and hopefully improve the behavior of Python without the its full standard library. This is relevant to Fedora, as we exclude several standard library modules into separate optional packages