For what it's worth, I recently ran across this article about setting up sane Python development environments:
https://jacobian.org/writing/python-environment-2018/
Peter
On Mar 7, 2018, 4:54 PM -0500, Jay Luker <[log in to unmask]>, wrote:
> I would add a recommendation for pyenv as a way to manage multiple versions
> of python on a machine. Very helpful, particularly if you need to run
> tests under multiple versions with something like tox.
>
> https://github.com/pyenv/pyenv
>
> —jay
>
> On Wed, Mar 7, 2018 at 3:35 PM Ed Summers <[log in to unmask]> wrote:
>
> > I agree. Third party support for Python3 is pretty good now. But if you
> > have any dependencies you know you're going to need it's a good idea to
> > check beforehand.
> >
> > There's also the six module if you want to be able to say you support 2
> > and 3, and want a nice way of papering over the differences.
> >
> > http://six.readthedocs.io/
> >
> > //Ed
> >
> > > On Mar 7, 2018, at 3:31 PM, Tod Olson <[log in to unmask]> wrote:
> > >
> > > I'd suggest Python 3.
> > >
> > > There are mechanisms for managing virtual environments for Python, like
> > penv, which make it easy to install and switch between versions without
> > confusing the system.
> > >
> > > -Tod
> >
|