Re: Good virtualenv and packaging tutorials for beginner?

2017-10-06 Thread Anssi Saari
Leam Hall  writes:

> Folks on IRC have suggested using virtualenv to test code under
> different python versions. Sadly, I've not found a virtualenv tutorial
> I understand. Anyone have a link to a good one?

I recently used
http://www.simononsoftware.com/virtualenv-tutorial-part-2/ to set up
one. I was mostly trying to see if I could use it to install current
Python 3 to an oldish Debian system. Worked fine.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread Christopher Reimer
On Oct 4, 2017, at 3:49 AM, Leam Hall  wrote:
> 
> Folks on IRC have suggested using virtualenv to test code under different 
> python versions. Sadly, I've not found a virtualenv tutorial I understand. 
> Anyone have a link to a good one?
> 
> The next step will be to figure out how to package a project; a good tutorial 
> URL would be appreciated on that, too.
> 
> Thanks!
> 
> Leam
> -- 
> https://mail.python.org/mailman/listinfo/python-list

I'm looking at tox that will automatically set up virtualenv for running unit 
tests under different versions of Python. 

https://tox.readthedocs.io/en/latest/

Chris R.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread Paul Moore
On 4 October 2017 at 13:30, leam hall  wrote:
> On Wed, Oct 4, 2017 at 7:15 AM, Ben Finney 
> wrote:
>
>> Leam Hall  writes:
>>
>> > Folks on IRC have suggested using virtualenv to test code under
>> > different python versions. Sadly, I've not found a virtualenv tutorial
>> > I understand. Anyone have a link to a good one?
>>
>> The Python Packaging Authority has a guide
>> > packages/#creating-virtual-environments>
>> which seems good to me.
>>
>> The standard library documentation for the ‘venv’ library
>>  is essential.
>>
>> > The next step will be to figure out how to package a project; a good
>> > tutorial URL would be appreciated on that, too.
>>
>> Follow the documentation maintained by the Python Packaging Authority
>> .
>>
>>
> Ben, thanks! I'm off to print and study...

Leam - if the guide is difficult to follow, feel free to ask here, or
raise issues on the project tracker at
https://github.com/pypa/python-packaging-user-guide/. Most of us
working on packaging are way too involved in the details to know how
it really feels to a newcomer to be faced with all this stuff, so if
you have any comments (or even better, suggestions as to how we could
improve things) that would be immensely valuable.

Paul
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread leam hall
On Wed, Oct 4, 2017 at 7:15 AM, Ben Finney 
wrote:

> Leam Hall  writes:
>
> > Folks on IRC have suggested using virtualenv to test code under
> > different python versions. Sadly, I've not found a virtualenv tutorial
> > I understand. Anyone have a link to a good one?
>
> The Python Packaging Authority has a guide
>  packages/#creating-virtual-environments>
> which seems good to me.
>
> The standard library documentation for the ‘venv’ library
>  is essential.
>
> > The next step will be to figure out how to package a project; a good
> > tutorial URL would be appreciated on that, too.
>
> Follow the documentation maintained by the Python Packaging Authority
> .
>
>
Ben, thanks! I'm off to print and study...

Leam
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread Ben Finney
Leam Hall  writes:

> Folks on IRC have suggested using virtualenv to test code under
> different python versions. Sadly, I've not found a virtualenv tutorial
> I understand. Anyone have a link to a good one?

The Python Packaging Authority has a guide

which seems good to me.

The standard library documentation for the ‘venv’ library
 is essential.

> The next step will be to figure out how to package a project; a good
> tutorial URL would be appreciated on that, too.

Follow the documentation maintained by the Python Packaging Authority
.

-- 
 \  “Courage is not the absence of fear, but the decision that |
  `\ something else is more important than fear.” —Ambrose Redmoon |
_o__)  |
Ben Finney

-- 
https://mail.python.org/mailman/listinfo/python-list


Good virtualenv and packaging tutorials for beginner?

2017-10-04 Thread Leam Hall
Folks on IRC have suggested using virtualenv to test code under 
different python versions. Sadly, I've not found a virtualenv tutorial I 
understand. Anyone have a link to a good one?


The next step will be to figure out how to package a project; a good 
tutorial URL would be appreciated on that, too.


Thanks!

Leam
--
https://mail.python.org/mailman/listinfo/python-list