Installation
This page provides instructions for installing the Sabbath School Lessons Reproducer package.
From PyPI
The simplest way to install the package is using pip:
pip install sabbath-school-reproducer
This will install the latest stable version along with all required dependencies.
From Source
To install from source for development:
Clone the repository:
git clone https://github.com/SabbathSchool/sabbath-school-reproducer.git cd sabbath-school-reproducer
Install in development mode:
pip install -e .
Dependencies
The package requires the following dependencies:
Python 3.6+
pyyaml
requests
markdown
weasyprint
beautifulsoup4
System Requirements
For PDF generation using WeasyPrint, you may need additional system dependencies:
On Ubuntu/Debian:
apt-get install build-essential python3-dev python3-pip python3-setuptools python3-wheel python3-cffi libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info
On macOS:
brew install cairo pango gdk-pixbuf libffi
On Windows:
WeasyPrint has specific requirements for Windows. See the WeasyPrint documentation for details.
Verifying Installation
To verify that the installation was successful, run:
sabbath-school-reproducer --version
This should display the version number of the installed package.