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

Re: Python 3 only package



On 06/11/2014 10:03 PM, Ross Gammon wrote:
> Hi,
> 
> I am getting a build failure when trying to build a "Python 3 only"
> package following the guidance in the Python Library Style Guide:
> https://wiki.debian.org/Python/LibraryStyleGuide
> 
> This is the error message:
> E: pybuild pybuild:256: build: plugin distutils failed with: exit
> code=1: /usr/bin/python3 setup.py build
> 
> The "plugin distutils failed" bit in the error message rings an alarm
> when I read the following in the style guide:
> 
> "Note: If you are building a Python 3-only package (i.e. there's no
> Python 2 support) then it is highly recommended you explicitly set the
> dh build system to pybuild. By default, if there is a setup.py, dh will
> set the build system to python_distutils which only supports Python 2
> and you'll get errors during package build as it tries to invoke some
> nonexistent Python 2 tools."
> 

Okay - this was nothing to do with python. A previous merge error had
given me a corrupt file.

Copying some lines from above the build error into my first email might
have given you a chance to spot my error!

Sorry about the noise.

Ross


Reply to: