Repo and slides for the talk delivered at Python Barcelona Meetup in October'16
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
best_practices_slides
figures
.gitattributes
.gitignore
Python_Projects_Best_Practices.pdf
README.md
requirements.txt
setup.py
tox.ini

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)