🛠Installation
1. 📥 Download or clone the repository
1.1. Prepare projects directory (if not exists):
# Create projects directory:
mkdir -pv ~/workspaces/projects
# Enter into projects directory:
cd ~/workspaces/projects
1.2. Follow one of the below options [A] or [B]:
OPTION A. Clone the repository:
OPTION B. Download source code:
- Download archived zip file from releases.
- Extract it into the projects directory.
- Rename the extracted directory from
model.python-template
tosimple_model
.
2. 📦 Install the module
[!NOTE] Choose one of the following methods to install the module [A ~ E]:
OPTION A. Install directly from git repository:
OPTION B. Install from the downloaded source code:
# Install directly from the source code:
pip install .
# Or install with editable mode:
pip install -e .
OPTION C. Install for DEVELOPMENT environment:
OPTION D. Install from pre-built package files (for PRODUCTION):
- Download
.whl
or.tar.gz
file from releases. - Install with pip:
# Install from .whl file:
pip install ./simple_model-[VERSION]-py3-none-any.whl
# Or install from .tar.gz file:
pip install ./simple_model-[VERSION].tar.gz
OPTION E. Copy the module into the project directory (for testing):