zup
dependencies
- Python 3.8
Installation
$ pip install zup
Installing Zig
This will install latest master Zig release and set it as default zig command in your system.
Note that zup never modifies your system configuration and you must add the symlink directory that zup manages to your %PATH% on Windows or $PATH on other platforms.
zup install master -d
Configuration
Config file is a python script that gets executed before any command is ran.
It can be opened with zup config. This uses your default program for a filetype; on windows the default is python.exe, please set it to a proper text editor or it won't open. Zup does not check or configure any system variables and can't know what the config will be opened with and it is your job as the owner of your system to configure it properly.
# config.py
# windows: Path(os.getenv('APPDATA')) / 'zup/config.py'
# macos: Path.home() / 'Library/Preferences/zup/config.py'
# other: Path.home() / '.config/zup/config.py'
# url where index will be fetched from
# default: 'https://ziglang.org/download/index.json'
index_url = zup.config.default_index_url()
# directory where zig compilers are installed
# windows: Path(os.getenv('LOCALAPPDATA')) / 'zup'
# macos: Path.home() / 'Library/Application Support/zup'
# other: Path.home() / '.local/share/zup'
install_dir = zup.config.default_install_dir()
# directory where symlinks to compilers are created
# windows: install_dir
# macos: install_dir
# other: Path.home() / '.local/bin'
symlink_dir = zup.config.default_symlink_dir()
Release files for zup 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zup-0.1.6.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zup-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / zup-0.1.6.tar.gz
| Download URL | zup-0.1.6.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0592e900934717f2f77d24e1fcc9a0a0fefdd4ddeab30ba98653a9b6fe0f4112
|
|
BLAKE2b-256 checksum How to use checksums |
2803ef07cb299eb9d4cc7106d349ecc4ef677d74a447f59a5361c7250d85b36d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|
Release files / zup-0.1.6-py3-none-any.whl
| Download URL | zup-0.1.6-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
372ab60a745b1ad6cf6cab493eaa58ea6dfa630219b9a3d9dc0999318309ef55
|
|
BLAKE2b-256 checksum How to use checksums |
b2459727b225004ddc3bd740d09cdceeb99da2a9e017f87c8fe89c8cd6dde4df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|