[issue13180] pysetup silently ignores invalid entries in setup.cfg

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
resolution:  - out of date
stage: needs patch - committed/rejected
status: open - closed

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



[issue13180] pysetup silently ignores invalid entries in setup.cfg

2012-02-10 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

A side effect of this change will be the removal of the Extension class, which 
was only useful to do some typechecks/conversions on its arguments.  In Python 
code it will be replaced by a dict (with keys 'name', 'sources', 'optional', 
etc.), and when building this dict from a setup.cfg the config parser will 
validate/convert the values read.

--

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



[issue13180] pysetup silently ignores invalid entries in setup.cfg

2011-11-12 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I want to explore ideas about a schema/type system, so I’m removing the easy 
keyword.

--
keywords:  -easy

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



[issue13180] pysetup silently ignores invalid entries in setup.cfg

2011-10-17 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Agreed.  Doc/packaging/setupcfg.rst defines that custom fields need to start 
with X-, so we can refuse everything that is not built-in and does not start 
with X-.  (I’m going toward error rather than warning.)

--
assignee: tarek - eric.araujo
keywords: +easy
nosy: +erik.bray
stage:  - needs patch
versions: +3rd party

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



[issue13180] pysetup silently ignores invalid entries in setup.cfg

2011-10-14 Thread Paul Moore

New submission from Paul Moore p.f.mo...@gmail.com:

With a simple setup.cfg defining a distribution containing a single Python 
module, if you misspell the modules keyword (say, as module) then pysetup 
does nothing without reporting the error.

This silent failure is very hard to debug, and even if pysetup is ignoring 
unknown items by design, it should at a minimum report ignored items and 
probably try to warn on common misspellings like this one.

PS D:\Data\python-sample\python type .\setup.cfg
[metadata]
name = hello
version = 0.1
author = Paul Moore
author-email = p.f.mo...@gmail.com
summary = Test Python module

[files]
module = hello
PS D:\Data\python-sample\python pysetup run build
running build
PS D:\Data\python-sample\python dir


Directory: D:\Data\python-sample\python


ModeLastWriteTime Length Name
- -- 
-a---13/10/2011 19:46 42 hello.py
-a---14/10/2011 18:42155 setup.cfg

(No build directory created!)

--
assignee: tarek
components: Distutils2
messages: 145552
nosy: alexis, eric.araujo, pmoore, tarek
priority: normal
severity: normal
status: open
title: pysetup silently ignores invalid entries in setup.cfg
type: behavior
versions: Python 3.3

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