This is a tiny, little package that shows how to easily setup a python package that includes
- Modularized structure
- A simple unittest setup using
.travis.yml
- An easy environment building option via
environment.yml
- Documentation of the code based on sphinx.
With this sample repository and a few instructions you should be good to go to create your own repositories that are simple to distribute and easily reproducible in the future.
The simplest way is to take a peak into the documentation which is located here: Documentation. There, I will explain and go through the few necessary steps to get you started to package your modules.
A few simple steps:
# Create the conda environment and install dependencies
conda env create -f environment.yml
# Activate the conda environment
conda activate htmapp
# Install your package
pip install -e .
The -e
simply let's you modify the package without having to reinstall it
all the time.