Éric Araujo
d5d831b74d
Update doctring now that Python has real booleans
2011-06-06 01:13:48 +02:00
Éric Araujo
35a4d01a92
Improve a few docstrings in packaging.
...
Also beautify import lists. Having them grouped by lenght makes it slightly
easier to look for a module.
2011-06-04 22:24:59 +02:00
Éric Araujo
088025fc5b
Use list constructor or built-in method instead of copy module
2011-06-04 18:45:40 +02:00
Tarek Ziade
721ccd0ce1
added the generate-setup action
2011-06-02 12:00:44 +02:00
Tarek Ziade
b1b6e1384c
Cleaned up the installer output behavior.
...
This change also makes sure the logger handlers are not alterated after an
installation. That also fixes the remaining environment alteration issue in
test_packaging.
2011-05-30 12:07:49 +02:00
Tarek Ziade
ec9b76d282
fixed the separator issues in packaging/resources+config
2011-05-21 11:48:16 +02:00
Victor Stinner
9904b22b78
Close #12114 : fix a potential deadlock in packaging.util._find_exe_version()
...
Avoid also zombi processes: Popen.communicate() calls its wait() method.
2011-05-21 02:20:36 +02:00
Victor Stinner
9cf6d13141
Issue #12112 : fix the encoding of setup.py in the packaging module
...
* read: use tokenize.detect_encoding()
* write: use 'utf-8'
2011-05-19 21:42:47 +02:00
Victor Stinner
4c9706bd27
package: replace open(fn, 'w').close() by open(fn, 'wb').close()
...
We don't need to open the files in text mode just to create them (or update
their modification time).
2011-05-19 15:52:59 +02:00
Victor Stinner
21a9c748aa
packaging: use with open() instead of try/finally: close
2011-05-19 15:51:27 +02:00
Tarek Ziade
1231a4e097
initial import of the packaging package in the standard library
2011-05-19 13:07:25 +02:00