Zig compiler multiplexer
Project description
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()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zup-0.1.6.tar.gz.
File metadata
- Download URL: zup-0.1.6.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0592e900934717f2f77d24e1fcc9a0a0fefdd4ddeab30ba98653a9b6fe0f4112
|
|
| MD5 |
ad7d3a541cfa986ef8012cedf79e4324
|
|
| BLAKE2b-256 |
2803ef07cb299eb9d4cc7106d349ecc4ef677d74a447f59a5361c7250d85b36d
|
File details
Details for the file zup-0.1.6-py3-none-any.whl.
File metadata
- Download URL: zup-0.1.6-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
372ab60a745b1ad6cf6cab493eaa58ea6dfa630219b9a3d9dc0999318309ef55
|
|
| MD5 |
5bb5d914b4e2c1818cd323f7d2cd6d28
|
|
| BLAKE2b-256 |
b2459727b225004ddc3bd740d09cdceeb99da2a9e017f87c8fe89c8cd6dde4df
|