2009/7/1 Tarek Ziadé :
>> That (at least as I read it) is a function, not a command.
>> If it is a command, give an example of its use from the command line
>> for us poor "don't want to research" people. If the following works:
>>
>> $ python setup.py uninstall some_package
>>
>> Then explicit
Tarek Ziadé writes:
> On Wed, Jul 1, 2009 at 1:44 PM, Paul Moore wrote:
> > General rule - don't document (and commit yourself to) any
> > internal details that the user can't access from the public
> > API. It just makes backward compatibility harder to maintain.
>
> The purpose is to prov
On Wed, Jul 1, 2009 at 10:05 PM, Guido van Rossum wrote:
> The select module already supports the poll() system call. Or is there
> a special variant that only Solaris has?
>
I think Jesus refers to /dev/poll—i.e., the interface for
edge-triggered polling on Solaris. This is the Solaris equivalent
2009/7/1 Tarek Ziadé :
>> As I suggested before:
>>
>> python -m distutils.uninstall packagename
>
> yes sorry if it was unclear, I was not thinking about adding something
> based on setup.py,
> but just saying that I was going to add this feature in the PEP. and
> it will be of the form:
>
> p
At 04:29 PM 7/1/2009 +0200, Tarek Ziadé wrote:
- Phase 1 : introduction of the egg-info file in distutils
Philipp introduced the creation of a file named xxx.egg-info file in 2006
(see http://bugs.python.org/issue1459476) alongside
distutils-installed package, that contains
the metadata of the
On Wed, Jul 01, 2009, Brett Cannon wrote:
>
> Anything happen while I was gone that I should be aware of that is not
> covered in a PEP?
Yes.
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"as long as we like the same operating system, things are cool." --piranh
> I dunno what the right solution is.
I feel that it is straight forward. Either provide a
/usr/bin/python-uninstall utility, or arrange to make
python -mdistutils.uninstall work, so one would do
python -mdistutils.uninstall some_package
Regards,
Martin
__
The select module already supports the poll() system call. Or is there
a special variant that only Solaris has?
2009/7/1 Jesus Cea :
>
> --
> Jesus Cea Avion _/_/ _/_/_/ _/_/_/
> j...@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
> jabber /
2009/7/1 Eric Pruitt :
> Hello,
>
> I am working on the subprocess.Popen module for Python 2.7 and am now moving
> my changes over to Python 3.1 however I am having trouble with the whole
> byte situation and I can't quite seem to understand how to go back and forth
> between bytes and strings. I a
Hello,
I am working on the subprocess.Popen module for Python 2.7 and am now moving
my changes over to Python 3.1 however I am having trouble with the whole
byte situation and I can't quite seem to understand how to go back and forth
between bytes and strings. I am also looking for the Python 3k e
Tarek Ziadé wrote:
>> - What is a "local absolute path"? Absolute path I understand, relative
>> path I understand, but "local absolute" is a novel term to me.
>
> local means that the "/" separator that is used in the RECORD file for
> example,
> no matter what platform you are on, is translated
2009/7/1 Paul Moore :
> One other thought. You haven't documented the DistributionMetaData class. The
Just noticed that it's defined in distutils. But it's not documented there :-(
Maybe just add a bit to the PEP saying that the class exists in
distutils, give a brief summary, and say that as par
Assuming Mailman flipped the right bits to start delivering mail to me
again, my Python sabbatical is now over.
Anything happen while I was gone that I should be aware of that is not
covered in a PEP?
-Brett
___
Python-Dev mailing list
Python-Dev@python.
--
Jesus Cea Avion _/_/ _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
jabber / xmpp:j...@jabber.org _/_/_/_/ _/_/_/_/_/
. _/_/ _/_/_/_/ _/_/ _/_/
"Things ar
On Wed, Jul 1, 2009 at 10:20 AM, Michael Foord wrote:
>>
>> Uninstall as a command feels a little weird. Since "python setup.py
>> [some-command]" implies that the setup.py contains information about the
>> distribution that the command is being applied to. So instead of:
>>
>> $ python setup.py un
On Tue, 30 Jun 2009 at 20:06, Scott David Daniels wrote:
Kevin Teague wrote:
On Jun 30, 2009, at 4:46 PM, Tarek Ziad? wrote:
> On Tue, Jun 30, 2009 at 10:06 PM, Scott David
> Daniels wrote:
> > Tarek Ziad? wrote:
> > > On Tue, Jun 30, 2009 at 8:37 PM, Paul Moore
> > > wrote:
> > > > [1]
2009/7/1 Paul Moore :
> 2009/6/30 Paul Moore :
>> Thank you. I'll try to make the time to go through the PEP and comment
>> more fully.
>
> OK, I've now read the PEP through in full. My comments follow.
One other thought. You haven't documented the DistributionMetaData class. The
And a minor nit:
2009/7/1 Tarek Ziadé :
> Right it's unclear, I'll work on this part.
>
> To resume :
>
> - Phase 1 : introduction of the egg-info file in distutils
>
> Philipp introduced the creation of a file named xxx.egg-info file in 2006
> (see http://bugs.python.org/issue1459476) alongside
> distutils-instal
2009/6/30 Paul Moore :
> Thank you. I'll try to make the time to go through the PEP and comment
> more fully.
OK, I've now read the PEP through in full. My comments follow. I have
deliberately avoided mentioning points that others have already
raised, to keep things shorter.
First of all, after I
On Wed, Jul 1, 2009 at 1:44 PM, Paul Moore wrote:
> "The problem is that many people use easy_install or pip to install
> their packages..."
>
> As already noted by others, it's not clear why this is a problem. But
> worse is the fact that the paragraph reads to me as saying that
> easy_install/pip
Right, the API part is almost empty,
http://docs.python.org/distutils/apiref.html
I'll complete it for the relevant part.
On Wed, Jul 1, 2009 at 2:37 PM, Paul Moore wrote:
> 2009/7/1 Paul Moore :
>> One other thought. You haven't documented the DistributionMetaData class. The
>
> Just noticed th
On Wed, Jul 1, 2009 at 10:35 AM, Paul Moore wrote:
> 2009/7/1 Tarek Ziadé :
>>> That (at least as I read it) is a function, not a command.
>>> If it is a command, give an example of its use from the command line
>>> for us poor "don't want to research" people. If the following works:
>>>
>>> $
Kevin Teague wrote:
> Uninstall as a command feels a little weird. Since "python setup.py
> [some-command]" implies that the setup.py contains information about the
> distribution that the command is being applied to. So instead of:
>
> $ python setup.py uninstall some_package
>
> It could just b
On Wed, Jul 1, 2009 at 2:27 PM, Nick Coghlan wrote:
> However, having uninstall as a command supported by setup.py also makes
> a certain amount of sense.
>
Yes, that could be an alias that just calls the uninstall global
function using the distribution
name.
__
Kevin Teague wrote:
On Jun 30, 2009, at 4:46 PM, Tarek Ziadé wrote:
On Tue, Jun 30, 2009 at 10:06 PM, Scott David
Daniels wrote:
Tarek Ziadé wrote:
On Tue, Jun 30, 2009 at 8:37 PM, Paul Moore
wrote:
[1] I'd actually like it if the PEP defined an uninstall command -
something like "python
25 matches
Mail list logo