On 13 May, 05:19 pm, mer...@netwok.org wrote:
Le 13/05/2011 19:12, exar...@twistedmatrix.com a �crit :
On 03:21 pm, mer...@netwok.org wrote:
If you run 1Csdist 1D and then 1Csdist upload 1D, is the sdist
recreated even though there have been no changes to the files?
Yes, the sdist is
Tres Seaver wrote:
On 05/13/2011 01:12 PM, exar...@twistedmatrix.com wrote:
On 03:21 pm, mer...@netwok.org wrote:
Le 12/05/2011 21:04, exar...@twistedmatrix.com a ýcrit :
On 03:57 pm, ziade.ta...@gmail.com wrote:
[...]
I'll definitely do something in distutils2 but maybe someone has a
On Mon, 16 May 2011, M.-A. Lemburg wrote:
[...]
Just to clarify: creating an sdist really only means copying
over the files from the MANIFEST into a temporary dir and then
running tar or zip on the temporary directory. You can tell
distutils to keep the temporary dir around by using the
John J Lee wrote:
On Mon, 16 May 2011, M.-A. Lemburg wrote:
[...]
Just to clarify: creating an sdist really only means copying
over the files from the MANIFEST into a temporary dir and then
running tar or zip on the temporary directory. You can tell
distutils to keep the temporary dir around
M.-A. Lemburg wrote:
The chance of two consecutive runs of sdist creating different
archives is rather small, compared to those sources of error.
That said, it's easy to get the upload command to use an
already created distribution file for the upload: just
add a new distutils command which
On Mon, 16 May 2011, M.-A. Lemburg wrote:
Right, but the only way to find out is by downloading
what you uploaded and testing that package :-)
Sure (and I do do that myself). But finding out is one thing, and not
doing it in the first place is another.
There are lots of things that can
John J Lee wrote:
On Mon, 16 May 2011, M.-A. Lemburg wrote:
That said, it's easy to get the upload command to use an
already created distribution file for the upload: just
add a new distutils command which sets .distribution.dist_files
to what list of files you want to upload.
[...]
On Mon, 16 May 2011, M.-A. Lemburg wrote:
[...]
Here's a trick which will do the same without having to write
any new code:
First run:
python setup.py sdist --keep-temp
Then run your tests on the created archive locally.
Second run:
python setup.py sdist --dry-run upload
The second