[issue11409] pysetup --search should return non-zero when a dist is not installed and print a message stating the fact.

2011-03-05 Thread Kelsey

New submission from Kelsey kelsey.highto...@gmail.com:

I would like to make pysetup easier to work with when called from shell scripts 
or similar tools that wish to take action based on the exit code of the pysetup 
--search command. In this case return 0 if a match is found and 1 otherwise.

As an enhancement, print a message to stdout that the dist is not installed.

Example:

# pysetup -s Mako
Mako is not installed

# echo $?
1

Please review my patch in my d2 patch queue:
https://bitbucket.org/khightower/distutils2-patch-queue/qseries?apply=tqs_apply=pysetup-search

--
assignee: tarek
components: Distutils2
files: pysetup-search.patch
keywords: patch
messages: 130127
nosy: alexis, eric.araujo, kelseyhightower, tarek
priority: normal
severity: normal
status: open
title: pysetup --search should return non-zero when a dist is not installed and 
print a message stating the fact.
type: behavior
versions: 3rd party, Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 
3.2, Python 3.3
Added file: http://bugs.python.org/file21009/pysetup-search.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11409
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11409] pysetup --search should return non-zero when a dist is not installed and print a message stating the fact.

2011-03-05 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

I will take a look, thanks.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11409
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11409] pysetup --search should return non-zero when a dist is not installed and print a message stating the fact.

2011-03-05 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Updated patch based on the distutils2-new-cmdline repo

https://bitbucket.org/khightower/distutils2-new-cmdline-mq/qseries?apply=tqs_apply=pysetup-search-nonzero

--
Added file: http://bugs.python.org/file21010/pysetup-search-new-cmds.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11409
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11357] Add support for PEP 381 -- Mirror Authenticity

2011-03-03 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Based on the feedback I have updated my patch, please review.

An updated patch attached. Link to my distutils2 mq below:

https://bitbucket.org/khightower/distutils2-patch-queue/qseries?apply=tqs_apply=mirror-authenticity

--
Added file: http://bugs.python.org/file20995/mirror-authenticity-updated.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11357
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11357] Add support for PEP 381 -- Mirror Authenticity

2011-03-01 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Thanks for the feedback! I agree with the issues raised and will rework the 
patch to address them.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11357
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11041] On the distutils2 documentation, 'requires-python' shouldn't be documented as *multi

2011-02-28 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Fixed in my bitbucket fork.

https://bitbucket.org/khightower/distutils2/changeset/ee9e580e5000

--
nosy: +kelseyhightower

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11041
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11357] Add support for PEP 381 -- Mirror Authenticity

2011-02-28 Thread Kelsey

New submission from Kelsey kelsey.highto...@gmail.com:

Distutils2 should provide support for verifying a mirrors authenticity as 
described in PEP 381 -- Mirror Authenticity.

--
assignee: tarek
components: Distutils2
messages: 129736
nosy: alexis, eric.araujo, kelseyhightower, tarek
priority: normal
severity: normal
status: open
title: Add support for PEP 381 -- Mirror Authenticity
type: feature request
versions: 3rd party, Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 
3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11357
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11357] Add support for PEP 381 -- Mirror Authenticity

2011-02-28 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

I have started on an implementation in my distutil2 patch-queue on bitbucket.

Link to code, tests, and documentation:

https://bitbucket.org/khightower/distutils2-patch-queue/qseries?apply=tqs_apply=mirror-authenticity


Outstanding items include back porting the SSL module for python  2.6 support 
and making sure all test pass on python = 2.4

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11357
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11357] Add support for PEP 381 -- Mirror Authenticity

2011-02-28 Thread Kelsey

Changes by Kelsey kelsey.highto...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file20953/mirror-authenticity.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11357
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11219] Produce a warning when the license is specified in both the License and Classifier metadata fields

2011-02-16 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Based on the feedback, I will rework the patch to include the following:

* Produce a warning only if the user supplied Platform or License metadata is 
listed in Trove classifiers (Exact match?).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11219] Produce a warning when the license is specified in both the License and Classifier metadata fields

2011-02-16 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Eric, I am not sure we can check for more than an exact match on Platform and 
License metadata fields.

D2 maintains a list of all Trove Classifiers which can be searched for an exact 
match; if a match is found warn the user that a Classifier should be used 
instead.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11219] Produce a warning when the license is specified in both the License and Classifier metadata fields

2011-02-16 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Eric, thanks for the example. This clarifies things.

+1 on the new data structure for the classifiers

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11219] Produce a warning when the license is specified in both the License and Classifier metadata fields

2011-02-15 Thread Kelsey

New submission from Kelsey kelsey.highto...@gmail.com:

Distutils2 should produce a warning when the license is specified in both the 
License and Classifier metadata fields

--
assignee: tarek
components: Distutils2
messages: 128624
nosy: alexis, eric.araujo, kelseyhightower, tarek
priority: normal
severity: normal
status: open
title: Produce a warning when the license is specified in both the License and 
Classifier metadata fields
type: feature request
versions: 3rd party

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11219] Produce a warning when the license is specified in both the License and Classifier metadata fields

2011-02-15 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Changes and additional tests can be reviewed on my patch queue.

https://bitbucket.org/khightower/distutils2-patch-queue/changeset/d7dff88ab524

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11057] Missing DistutilsOptionError

2011-01-29 Thread Kelsey

New submission from Kelsey kelsey.highto...@gmail.com:

Missing DistutilsOptionError import in distutil2.config causes the following 
error:

Traceback (most recent call last):
  File /opt/OpenPython-2.7.1/lib/python2.7/runpy.py, line 162, in 
_run_module_as_main
__main__, fname, loader, pkg_name)
  File /opt/OpenPython-2.7.1/lib/python2.7/runpy.py, line 72, in _run_code
exec code in run_globals
  File 
/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py,
 line 181, in module
main()
  File 
/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py,
 line 176, in main
return commands_main()
  File 
/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/run.py,
 line 90, in commands_main
dist.parse_config_files()
  File 
/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/dist.py,
 line 307, in parse_config_files
return self.config.parse_config_files(filenames)
  File 
/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/config.py,
 line 193, in parse_config_files
self._read_setup_cfg(parser)
  File 
/opt/OpenPython-2.7.1/lib/python2.7/site-packages/Distutils2-1.0a3-py2.7.egg/distutils2/config.py,
 line 113, in _read_setup_cfg
raise DistutilsOptionError(msg)
NameError: global name 'DistutilsOptionError' is not defined

--
assignee: tarek
components: Distutils2
messages: 127396
nosy: eric.araujo, kelseyhightower, tarek
priority: normal
severity: normal
status: open
title: Missing DistutilsOptionError
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11057
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11057] Missing DistutilsOptionError

2011-01-29 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Link to patch:

https://bitbucket.org/khightower/distutils2/changeset/22f336b467b8

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11057
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11057] Missing import of DistutilsOptionError

2011-01-29 Thread Kelsey

Changes by Kelsey kelsey.highto...@gmail.com:


--
title: Missing DistutilsOptionError - Missing import of DistutilsOptionError

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11057
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11058] dist directory not created when running sdist command

2011-01-29 Thread Kelsey

New submission from Kelsey kelsey.highto...@gmail.com:

When trying to create a source distribution, I get the following error and no 
stack trace:


[openpython:yamlconfig]$ /opt/OpenPython-2.7.1/bin/python -m distutils2.run 
sdist
WARNING:root:warning: no files found matching 's'
WARNING:root:warning: no files found matching 'e'
WARNING:root:warning: no files found matching 't'
WARNING:root:warning: no files found matching 'u'
WARNING:root:warning: no files found matching 'p'
WARNING:root:warning: no files found matching '.'
WARNING:root:warning: no files found matching 'p'
WARNING:root:warning: no files found matching 'y'
error: dist/yamlconfig-0.3.1.tar.gz: No such file or directory

Not sure what all the WARNINGs are for, will file a separate issue for those.

--
assignee: tarek
components: Distutils2
messages: 127401
nosy: eric.araujo, kelseyhightower, tarek
priority: normal
severity: normal
status: open
title: dist directory not created when running sdist command
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11058
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11058] dist directory not created when running sdist command

2011-01-29 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Link to patch:
https://bitbucket.org/khightower/distutils2/changeset/6ef86fa5236b

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11058
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11045] shutil._make_tarball

2011-01-29 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Adding patch to ticket

--
keywords: +patch
Added file: http://bugs.python.org/file20609/check-logger-is-none.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11045
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11058] dist directory not created when running sdist command

2011-01-29 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

This could be my mistake. . I think an early attempt at patching Issue 11045, I 
disabled os.makedirs(archive_dir) in shutil. I am going to retest

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11058
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11058] dist directory not created when running sdist command

2011-01-29 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

I have retested; this issue was related to a bug I introduced in shutil (fixed 
now, and patch sent upstream)

--
resolution:  - invalid
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11058
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11045] shutil._make_tarball

2011-01-28 Thread Kelsey

Kelsey kelsey.highto...@gmail.com added the comment:

Adding stacktrace to ticket

--
nosy: +kelseyhightower
Added file: http://bugs.python.org/file20574/distutils2_logger.info_bug.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11045
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com