Tarek Ziadé [EMAIL PROTECTED] added the comment:
This is because the code uses a print statement when opening the .pypirc
file. This was already the case before this patch, but the code was not
covered by tests. (see in previous revision)
The test is not broken, it just ouputs to stdin.
I
Martin v. Löwis [EMAIL PROTECTED] added the comment:
This is because the code uses a print statement when opening the .pypirc
file. This was already the case before this patch, but the code was not
covered by tests. (see in previous revision)
The test is not broken, it just ouputs to
Tarek Ziadé [EMAIL PROTECTED] added the comment:
Right, Thanks!
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Python-bugs-list mailing list
Unsubscribe:
Martin v. Löwis [EMAIL PROTECTED] added the comment:
This patch has broken test_distutils, which now reports
test_distutils
test test_distutils produced unexpected output:
**
Using PyPI login from
Tarek Ziadé [EMAIL PROTECTED] added the comment:
Thanks for the integration work !
I was wondering: since it superseeds two bugs (issue1741, issue2166)
that where marked to be backported in 2.5.x, should I write 2.5 specific
patches for those particular fixes ? (windows paths related issues)
A.M. Kuchling [EMAIL PROTECTED] added the comment:
Brett backed out my commit in r63002 because I forgot to include the
distutils.config module. Re-committed in r63014 and r63060.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
Changes by A.M. Kuchling [EMAIL PROTECTED]:
--
assignee: - akuchling
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Python-bugs-list mailing list
A.M. Kuchling [EMAIL PROTECTED] added the comment:
Is the only purpose of the '-r' in sys.argv code to
avoid having to specify arguments multiple times when you're doing
multiple commands on a line? Perhaps it would be acceptable to then
just drop that bit of code completely; having to
Tarek Ziadé [EMAIL PROTECTED] added the comment:
yes that was just for conveniency, so I guess it can be removed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
A.M. Kuchling [EMAIL PROTECTED] added the comment:
Committed to trunk as r62998; thank you very much for the patch!
--
keywords: -easy
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9489/distutils.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9503/bugday.distutils.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9500/bugday-distutils.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9652/distutils.2008.03.11.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9653/distutils.2008.03.11.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9614/distutils.2008-03-05.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file9663/distutils.2008.03.12.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Tarek Ziadé [EMAIL PROTECTED] added the comment:
patch with more tests and explanations...
for the -r option, the standard call without the change would be:
$ python setup.py register -r pypi sdist upload -r pypi
which is very redundant. That's why config.py looks into args.
To avoid
Tarek Ziadé added the comment:
I have changed the code: the pypirc module is now called config.
Added file: http://bugs.python.org/file9614/distutils.2008-03-05.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
Tarek Ziadé added the comment:
for the -r option, is has to be catched by both register and upload when
the command is called like this :
$ python setup.py register sdist upload -r my-pypi
without the args lookup, register will get an empty value for -r.
This option seems to me quite
Changes by Facundo Batista:
Removed file: http://bugs.python.org/file9191/patch.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Python-bugs-list mailing list
Tarek Ziadé added the comment:
The last patch also fixes the HOME issues under Windows: #1531505,
#1741, #2166 where .pypirc and .pydistutils.cfg were not found. It is
not using os.path.expanduser to simplify the code usage (~\/ is rather
unreadable) (see the get_home() function in util.py)
Tarek Ziadé added the comment:
I have changed the patch so it uses expanduser (took back tiran's
example from #2166)
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Changes by Tarek Ziadé:
Added file: http://bugs.python.org/file9503/bugday.distutils.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Python-bugs-list mailing
A.M. Kuchling added the comment:
Random notes on bugday.distutils.patch:
* dist.py: this change should definitely be applied, no matter what
happens to the rest of the patch.
* Yay! Lots of tests!
* distutils.pypirc: I'm doubtful of the finalize_options() here;
looking for '-r' in the
A.M. Kuchling added the comment:
* I like factoring out the .pypirc code into a separate class.
* Overall I think the patch is acceptable. We'd need to decide whether
the new .pypirc is considered suitable -- I don't remember the reaction
to it on the distutils-sig or catalog-sig -- but
Changes by Tarek Ziadé:
Added file: http://bugs.python.org/file9489/distutils.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Python-bugs-list mailing list
Tarek Ziadé added the comment:
please could you remove the deprecated patch.diff ? thanks :)
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
__
___
Python-bugs-list mailing
New submission from Tarek Ziadé:
explained here: http://wiki.python.org/moin/EnhancedPyPI
The patch also adds unit tests for command/register.py and
command/upload.py
--
components: Distutils
files: patch.diff
messages: 60025
nosy: tarek
severity: normal
status: open
title: Make
Christian Heimes added the comment:
I've changed the target version to 2.6+. We can't add new features to
2.5 and earlier.
--
keywords: +easy, patch
nosy: +tiran
priority: - normal
type: - rfe
versions: +Python 3.0 -Python 2.4, Python 2.5
__
Tracker
30 matches
Mail list logo