On 02/02/14 19:32, Piotr Ożarowski wrote:
> [Iain R. Learmonth, 2014-02-02]
>> I'm packaging a Python module for Debian and lintian is giving the message:
>>
>> E: python3-fitbitscraper source: missing-python-build-dependency
>>
>> Should a Python 3 only module have a build dependency on Python 2?
> 
> you're using python (2.X) in debian/rules line 8, so lintian is right
> about missing python build dependency
> 

You are observant. I totally missed that. Thanks.

> You most probably want to remove this line and set
> PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/python3-fitbitscraper/
> instead
> 

That works perfectly! The Python packaging page on the wiki didn't have
that. Is that a cue for dh_python3?

> PS you probably also want to change Architecture to all
> 

Done.

Thanks for your help. This is my first package and I believe it's ready now.

Iain.

-- 
urn:x-human:Iain R. Learmonth
http://iain.learmonth.me/
mailto:i...@fsfe.org
xmpp:i...@jabber.fsfe.org
tel:+447875886930

GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
Please verify out-of-band before trusting with sensitive information.

[[[ To any GCHQ or other security service agents reading my email: ]]]
[[[ Please consider if any professional body code of conduct to    ]]]
[[[ which you subscribe requires you to follow Snowden's example.  ]]]
[[[ Your professional membership, chartered or incorporated status ]]]
[[[ may be at risk.                                                ]]]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to