This is a Python project generation tool. It leverages:
- virtualenvwrapper
- pipenv
- cookiecutter
machoGrande is laid out as follows:
- machoGrande/ virtual environment
- -machoGrande/ project, including this file
- -ccs/ cookiecutter collection
- -cookiecutter-pybase/ initial python project
- -{{cookiecutter.slug}} templated content to propagate
- edit machoGrande/machoGrande/machoGrande.yaml as needed
- exit machoGrande/machoGrande/machoGrande.py
- creates project directory in VIRTUALENV_HOME
- invoke pipenv
- adjust its content to the desired directory
- isntantiate cookiecutter-pybase with cookiecutter
- check in the initial content to git
pacman -S python-pip python-pipenv python-virtualenvwrapper
pip install –upgrade pip
cat <<EOF >> ~/.bashrc PDIR=”~/proj/” export WORKON_HOME=”${PDIR}” source /usr/bin/virtualenvwrapper.sh EOF
When you source .bashrc, you get a dozen files, that both clutter
pip install cookiecutter
mkdir /home/smitty/proj/machoGrande cd /home/smitty/proj/machoGrande git clone https://github.com/smitty1eGH/machoGrande.git