mirror of
https://github.com/blw1138/cross-py-builder.git
synced 2025-12-17 08:38:11 +00:00
Ability to checkout git repos, custom ports, and setup for pip
This commit is contained in:
40
README.md
40
README.md
@@ -1,11 +1,11 @@
|
||||
# Cross-Py-Build
|
||||
# Cross-Py-Builder
|
||||
|
||||
Cross-Py-Build is a simple remote build tool for compiling Python projects with PyInstaller on different platforms on a local network.
|
||||
Cross-Py-Builder is a simple remote build tool for compiling Python projects with PyInstaller on different platforms on a local network.
|
||||
|
||||
## System Requirements
|
||||
- **Ubuntu/Debian & macOS:** 2GB+ RAM
|
||||
- **Windows:** 4GB+ RAM
|
||||
- **Python 3** installed
|
||||
- **Python 3.10 or later** installed
|
||||
- **Local Network** for build agents
|
||||
|
||||
---
|
||||
@@ -14,7 +14,7 @@ Cross-Py-Build is a simple remote build tool for compiling Python projects with
|
||||
|
||||
|
||||
```sh
|
||||
./agent_manager.py --build /path/to/repo -cpu x64 -os windows
|
||||
./cross-py-builder.py --build /path/to/repo -cpu x64 -os windows
|
||||
|
||||
options:
|
||||
-h, --help show this help message and exit
|
||||
@@ -28,7 +28,7 @@ options:
|
||||
--restart RESTART Hostname to restart
|
||||
--restart-all Restart all agents
|
||||
--shutdown SHUTDOWN Hostname to shutdown
|
||||
--shutdown-all Restart all agents
|
||||
--shutdown-all Shutdown all agents
|
||||
```
|
||||
|
||||
---
|
||||
@@ -50,29 +50,23 @@ This guide provides steps to set up a worker VM on **Ubuntu/Debian, macOS, or Wi
|
||||
```sh
|
||||
xcode-select --install # Install xcode tools
|
||||
```
|
||||
- Install Python 3.x from [python.org](https://www.python.org/downloads/)
|
||||
- **Windows:**
|
||||
- Install Python 3.x from [python.org](https://www.python.org/downloads/)
|
||||
|
||||
|
||||
3. **Set up a virtual environment:**
|
||||
|
||||
3. **Install Python** >=3.10 from [python.org](https://www.python.org/downloads/) (Windows and macOS - macOS)
|
||||
4. **Set up a virtual environment:**
|
||||
- **Ubuntu/Debian/macOS:**
|
||||
```sh
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
```
|
||||
```sh
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
```
|
||||
- **Windows:**
|
||||
```sh
|
||||
python3 -m venv venv
|
||||
source venv\Scripts\activate
|
||||
```
|
||||
4. **Copy project files** and install dependencies:
|
||||
```sh
|
||||
python3 -m venv venv
|
||||
venv\Scripts\activate
|
||||
```
|
||||
5. **Copy project files** and install dependencies:
|
||||
```sh
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
5. **Start Build Agent**:
|
||||
6. **Start Build Agent**:
|
||||
- **Ubuntu/Debian/macOS:**
|
||||
```sh
|
||||
python3 build_agent.py
|
||||
|
||||
Reference in New Issue
Block a user