Last updated:
0 purchases
PythonTemplateDemo 0.0.0
PythonTemplateDemo
A sample project templated from jacebrowning/template-python.
Getting Started
Requirements
Python 2.7+ or Python 3.3+
Installation
PythonTemplateDemo can be installed with pip:
$ pip install PythonTemplateDemo
or directly from the source code:
$ git clone https://github.com/jacebrowning/template-python-demo.git
$ cd template-python-demo
$ python setup.py install
Basic Usage
After installation, abstract base classes can be imported from the
package:
$ python
>>> import demo
demo.__version__
PythonTemplateDemo doesn’t do anything, it’s a template.
For Contributors
Requirements
GNU Make:
Windows: http://cygwin.com/install.html
Mac: https://developer.apple.com/xcode
Linux: http://www.gnu.org/software/make (likely already installed)
virtualenv: https://pypi.python.org/pypi/virtualenv#installation
Pandoc: http://johnmacfarlane.net/pandoc/installing.html
Graphviz: http://www.graphviz.org/Download.php
Installation
Create a virtualenv:
$ make env
Run the tests:
$ make test
$ make tests # includes integration tests
Build the documentation:
$ make doc
Run static analysis:
$ make pep8
$ make pep257
$ make pylint
$ make check # includes all checks
Prepare a release:
$ make dist # dry run
$ make upload
Changelog
0.0.0 (2013/10/09)
<Change the version, date, and this text.>
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.