Toolchain setup script

This commit is contained in:
Aetias
2023-09-09 12:29:25 +02:00
parent a2c2c563f7
commit 0e6737cde6
5 changed files with 33 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
build/
.vscode/
+18
View File
@@ -0,0 +1,18 @@
# Install
Contents:
- [Prerequisites](#prerequisites)
## Prerequisites
1. Install Python 3.7 or higher
2. Install the Python dependencies:
```shell
python3 -m pip install -r tools/requirements.txt
```
3. Run the setup script:
```shell
python tools/setup.py
```
+1
View File
@@ -0,0 +1 @@
mwccarm/
+1
View File
@@ -0,0 +1 @@
requests
+11
View File
@@ -0,0 +1,11 @@
import requests
import zipfile
import io
from pathlib import Path
tools_path = Path(__file__).parent
response = requests.get('https://cdn.discordapp.com/attachments/698589325620936736/845499146982129684/mwccarm.zip')
zip_file = zipfile.ZipFile(io.BytesIO(response.content))
zip_file.extractall(tools_path)