fix: data path inside package

This commit is contained in:
eneller
2025-01-17 08:30:13 +01:00
parent 2c037d2cfd
commit 02270406be
7 changed files with 12 additions and 19 deletions

View File

@@ -7,18 +7,11 @@ Requires:
## Usage
Invoke the script using the url of any page of the book you would like to download:
```
python convert.py https://example.com
epub2go https://www.projekt-gutenberg.org/ibsen/solness/
```
## Installation
1. Assuming you have a recent version of [Python](https://www.python.org/downloads/) and Pip installed, create virtual environment using
Assuming you have a recent version of python installed, run
```
python -m venv .venv
```
2. Activate your new venv using
```
source .venv/bin/activate
```
3. Install the requirements for this script using
```
pip install -r requirements.txt
pip install git+https://github.com/eneller/epub2go.py
```
This will provide the 'epub2go' command.