mirror of
https://github.com/zeldaret/ph
synced 2026-05-27 16:13:04 -04:00
Toolchain setup script
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
build/
|
||||
.vscode/
|
||||
+18
@@ -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
|
||||
```
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
mwccarm/
|
||||
@@ -0,0 +1 @@
|
||||
requests
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user