Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Toy Package

Just an example project for setting up your python environment.

This goes along with the blog post at https://www.loganasherjones.com/2018/03/setting-up-your-python-environment/

The Basics

Clone this repository

git clone https://github.com/loganasherjones/toy_package.git
cd toy_package

Make sure you have your python environment set using pyenv and pyenv-virtualenv

pyenv virtualenv 3.6.4 toy_package
pyenv local toy_package 3.6.4 2.7.14

Install the dependencies:

pip install -r requirements.txt

Run the tests on your python version:

pytest

Run the tests on all the python verisons:

tox

Uh oh! It looks like one of the tests are broken! I wonder what could be wrong...

About

An example package used by my blog.

Resources

License

Releases

No releases published

Packages

No packages published

Languages