[Distutils] library development patterns

Chris Jerdonek chris.jerdonek at gmail.com
Thu Jan 18 15:57:05 EST 2018


I haven’t yet seen pyenv mentioned in this discussion. Having the ability
to switch between Python versions for interactive exploration seems like an
important piece for

On Thu, Jan 18, 2018 at 11:18 AM Barry Warsaw <barry at python.org> wrote:

> Nick Coghlan wrote:
> > The tox model is the one we decided to natively support in Fedora as
> > well - while there's only ever one "full" Python 3 stack in the main
> > repos (with all the distro API bindings, etc), there are also
> > interpreter-only packages for other still supported and/or still
> > popular Python X.Y branches, and "dnf install tox" will bring in all
> > of them as weak dependencies.
> >
> > Hence my preference for where I think it would make sense to take
> > pipenv in this regard: better *enable* the tox model, without
> > *duplicating* the tox model.
>
> I'm a big fan of the tox model.  It works great on Debian/Ubuntu where
> you can have multiple Python 3 interpreters (with some shared
> infrastructure) during transitions, and macOS development where you
> might have multiple versions of Python installed from brew/fink/macports
> and from-source installations, including the current Python development
> versions.  It also works well for things like
> https://gitlab.com/python-devs/ci-images/tree/master
>
> tox provides a nice, easy to invoke and remember CLI, good separation of
> concerns (e.g. runtime deps in setup.py, test deps in tox.ini), and
> convenient management of venvs.
>
> Cheers,
> -Barry
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20180118/c73ec6bb/attachment-0001.html>


More information about the Distutils-SIG mailing list