[Distutils] Python module for use in ‘setup.py’ but not to install

Ethan Furman ethan at stoneleaf.us
Sat Jan 31 21:19:39 CET 2015


On 01/29/2015 08:58 PM, Ben Finney wrote:
> Ethan Furman writes:
> 
>> However, I feel that requiring a dependency simply for the
>> installation of the main package (the main package doesn't actually
>> use this install-dependency, correct?) is heavy-handed and should be
>> avoided.
> 
> It is ideally a build-time dependency and not an install-time
> dependency, but I'm having a difficult time figuring out how to
> distinguish those so Setuptools will pay attention.

Ah, so it's needed with the sdist command and not the install command?  Yeah, you definitely have my sympathies with
that one.  Too bad there's no easy way to specify behavior based on the command used... (hopefully someone will now tell
how I am wrong about that ;) .

--
~Ethan~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150131/5a388b36/attachment.sig>


More information about the Distutils-SIG mailing list