[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging with Python Disutils



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/21/2013 12:24 AM, Barry Warsaw wrote:
> On Nov 20, 2013, at 09:44 PM, Ross Gammon wrote:
> 
>> My upstream are maintaining two parallel versions at the moment,
>> and I am trying to prepare a package for the experimental
>> version. They have enabled Python 3, upgraded to GTK3 and changed
>> to distutils.
> 
> Hi Ross,
> 
> This might help.  It's been updated to the most recent
> recommendations from the Debian Python team.
> 
> https://wiki.debian.org/Python/LibraryStyleGuide
> 
Thanks Barry. I had actually tried the pybuild approach first, but it
failed to build on the dh_auto_test, so I had tried to go back to
basics and followed recommendations from upstream.
> 
> Cheers, -Barry
> 
But now I am back with pybuild, and the ERROR picked up by a unit
test. The traceback shows a resource path error, but on a file that is
not meant for unit testing, but has the unfortunate name of
testcasegenerator.py :-)

It turns out that upstream's unit testing has been recently
resurrected and is a work in progress. They do not yet support the
standard unittest discovery, so I have temporarily overridden
auto_test to run 'python setup.py test' which they have set up to
point to the right tests.

Regards,

Ross
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSj9tUAAoJEFP+e72miRD8PU4P/R5lizyoY4yPc1qSesz4oe/P
VkP8EzRGMVKRhKTtsEKdRZHKyWDPKlyA1SB6pnAhKSBCG2EQt9KmT8JcoaDje78a
PX18R7/MfsS6Z6paXU68FUuFn4LniWAfTJJxvuNLFDGVP3SC+pPN7HWbabEPIPf7
mJzgxpLVSSnDvcqp0yVPrA/C6HtA0DUfeonT+q4f7gRS6RIDZ6PSa1RVLS9hD0+P
WW5jvKgeh9cslxC36AjLNUOuBH+3iAkZsbcKCcj5+ozPmwUgaLjtetcOGnBu6IXA
JmOC2x5GUQATg3IntwdWlfH3vpwGYVG1Dci/7VvTS7JJv/ubrgnhTXC3Weglz802
tsFmnQ8WZVECbZQiQrHdoQSCsM3vTSZYPYdE7+3+S8VYHwkVgl5Aq2cbhlWOFBek
2hsZUR+4bOhS2SLsXJeIctml9ZyxPGswe+qvykM4xiK5U4cw9OvZrAw23pDopybZ
xog7JG/us06wgfNLMe9QD8bK4pUgarEkq9ZLU9hk/xzgDTqYFTfh5JnYPxo4qy2K
+gdE7SfD1yGabwJldWFP/HInaoopyc088gbK/4UpGcZ8DIGZeNmqzgyM83PdCGt5
c9luTh0V499wmwOF8mWc+Y1oIxdtqu5giJjZASkiZ5SGrj3bv9v+1odI1Oax+3fD
9dL4f5Al9ou2LJuIJg7/
=caKT
-----END PGP SIGNATURE-----


Reply to: