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

Python Projects' Best Practices

Small repo and slides for the talk delivered at Python Barcelona Meetup in October'16

Slides available here

The figures package is a simple project that aims to highlight some of the best practices for Python projects.

It contains the required configuration to:

  • Make a wheel

    python setup.py bdist_wheel

  • Install the wheel

    pip install --use-wheel dist/figures-1-py2-none-any.whl

  • Use tox

    tox

  • Run nose

    nosetests tests/

  • Run pytest

    py.test tests/

  • Install the package using setup.py

    python setup.py install

The best_practices_slides folder contains the source code required to generate the slides of the presentation. Simply:

Install the requirements:

cd best_practices_slides/
pip install -r requirements-slides.txt

Generate the slides:

make slides

Slides are generated from an .rst file using [hieroglyph] (https://github.com/nyergler/hieroglyph)

About

Repo and slides for the talk delivered at Python Barcelona Meetup in October'16

Topics

Resources

Releases

No releases published

Packages

No packages published