wobbl_tools/README.md

41 lines
1 KiB
Markdown
Raw Normal View History

2023-11-11 19:50:32 +01:00
# Wobbl tools
2024-02-24 17:23:21 +01:00
A python module for some projects by the Wobbler.
2023-11-11 19:50:32 +01:00
2024-02-24 17:23:21 +01:00
## Installation
2023-11-11 19:50:32 +01:00
2024-02-24 17:23:21 +01:00
You first have to check where your module folder is located. You can do this by running this command:
```bash
python3 -m site
```
The output should look like this:
```bash
sys.path = [
'/home/user',
'/usr/lib/python310.zip',
'/usr/lib/python3.10',
'/usr/lib/python3.10/lib-dynload',
'/home/user/.local/lib/python3.10/site-packages',
'/usr/local/lib/python3.10/dist-packages',
'/usr/lib/python3/dist-packages',
'/usr/lib/python3.10/dist-packages',
]
USER_BASE: '/home/user/.local' (exists)
USER_SITE: '/home/user/.local/lib/python3.10/site-packages' (exists)
ENABLE_USER_SITE: True
2023-11-11 19:50:32 +01:00
```
2024-02-24 17:23:21 +01:00
The path after "USER_SITE" is the path to your module folder. You have to `cd into the folder and clone this repository.
You can do that using these commands:
```bash
cd /home/user/.local/lib/python3.10/site-packages
git clone https://teapot.informationsanarchistik.de/Wobbl/wobbl_tools.git
2023-11-11 19:50:32 +01:00
```
2024-02-24 17:23:21 +01:00
<sup>Dont forget to replace the path!</sup>
And you are done!