This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stefan
Recipients docs@python, dstufft, eric.araujo, stefan
Date 2019-01-26.00:55:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548464133.32.0.379789250574.issue35830@roundup.psfhosted.org>
In-reply-to
Content
I'm working on a project that I'd like to split into multiple separately installable components. The main component is a command-line tool without any external dependencies. Another component is a GUI frontend that adds some third-party dependencies.
Therefore, I'd like to distribute the code in a single source package, but separate binary packages (so users can install only what they actually need).

I couldn't find any obvious way to support such a scenario with either `distutils` nor `setuptools`. Is there an easy solution to this ? (I'm currently thinking of adding two `setup()` calls to my `setup.py` script. That would then call all commands twice, so I'd need to override the `sdist` command to only build a single (joint) source package.
Is there a better way to achieve what I want ?
History
Date User Action Args
2019-01-26 00:55:35stefansetrecipients: + stefan, eric.araujo, docs@python, dstufft
2019-01-26 00:55:33stefansetmessageid: <1548464133.32.0.379789250574.issue35830@roundup.psfhosted.org>
2019-01-26 00:55:33stefanlinkissue35830 messages
2019-01-26 00:55:33stefancreate