https://github.com/mtshiba/ergup
Erg installing script
https://github.com/mtshiba/ergup
erg installer python
Last synced: 11 months ago
JSON representation
Erg installing script
- Host: GitHub
- URL: https://github.com/mtshiba/ergup
- Owner: mtshiba
- Created: 2022-10-16T01:33:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T16:38:36.000Z (over 1 year ago)
- Last Synced: 2025-06-13T20:51:33.444Z (12 months ago)
- Topics: erg, installer, python
- Language: Python
- Homepage:
- Size: 90.8 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ergup
Install the pre-built binaries of erg. Also, build and install the package manager (poise) using the installed/existing compiler.
## requirement
Python 3 (>=3.7)
## supported platforms
* Linux x86_64, armv7, aarch64
* Windows x86_64, i686
* MacOS x86_64, aarch64
## usage
```sh
# If the Python command is registered as `python` in your environment, replace the `python3` part.
python3 <(curl -L https://github.com/mtshiba/ergup/raw/main/ergup/ergup.py)
# and please set environment variables
```
You can also install via pip.
```sh
pip install ergup
ergup
```
### Installing nightly version
```sh
python3 <(curl -L https://github.com/mtshiba/ergup/raw/main/ergup/ergup.py) - nightly
```
### Note
`ergup` is implemented in Erg, to solve the bootstrap problem (i.e. we can't use Erg to install Erg) we transpile the Erg script into a standalone Python script.
The following command transpiles `ergup.er` to `ergup.py`.
```sh
erg --no-std transpile ergup.er
```