Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 578 Bytes

python.md

File metadata and controls

23 lines (16 loc) · 578 Bytes

Python

Summary

  1. Use PEP 8 and validate style.
  2. Use virtual-env and pip. Include both in repositories.

Managing Dependencies

When starting a new project, do the following:

$ virtualenv ENV
$ . ENV/bin/activate
$ touch requirements.txt

Add dependencies to requirements.txt, then run:

$ pip install -r requirements.txt
$ git add ENV requirements.txt
$ git commit