Build Tool
Project description
bits
Bits is a tool to build, install and package large software stacks. It originates from the aliBuild tool, originally developed to simplify building and installing ALICE / ALFA software and attempts to make it more general and usable for other communities that share similar problems and have overlapping dependencies. It is under active development and subject to rapid changes and should NOT be used in production environment where stability and backward compatibility is important.
Instant gratification with:
$ git clone git@github.com:bitsorg/bits.git; cd bits; export PATH=$PWD:$PATH; cd .. $ git clone git@github.com:bitsorg/alice.bits.git $ cd alice.bits $ git clone git@github.com:bitsorg/common.bits.git;
Review and customise bits.rc file (in particular, sw_dir location where all output will be stored):
$ cat bits.rc [bits] organisation=ALICE [ALICE] pkg_prefix=VO_ALICE sw_dir=../sw repo_dir=. search_path=common
Then:
$ bits build ROOT $ bits enter ROOT/latest $ root -b
Full documentation at:
Pre-requisites
If you are using bits directly from git clone, you should make sure you have the dependencies installed. The easiest way to do this is to run:
# Optional, make a venv so the dependencies are not installed globally python -m venv .venv source .venv/bin/activate pip install -e .
Contributing
If you want to contribute to bits, you can run the tests with:
# Optional, make a venv so the dependencies are not installed globally python -m venv .venv source .venv/bin/activate pip install -e .[test] # Only needed once tox
The test suite only runs fully on a Linux system, but there is a reduced suite for macOS, runnable with:
tox -e darwin
You can also run only the unit tests (it’s a lot faster than the full suite) with:
pytest
To run the documentation locally, you can use:
# Optional, make a venv so the dependencies are not installed globally python -m venv .venv source .venv/bin/activate # Install dependencies for the docs, check pyproject.toml for more info pip install -e .[docs] # Run the docs cd docs mkdocs serve
Project details
Release history Release notifications | RSS feed
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 bitsorg-0.1.1.tar.gz.
File metadata
- Download URL: bitsorg-0.1.1.tar.gz
- Upload date:
- Size: 485.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7a2e28da6b32df4826a03d34f30cedec928086a3217126288a4928642628e29
|
|
| MD5 |
6d8f4a4dfe31d28cb56fb00bec04a2ba
|
|
| BLAKE2b-256 |
59b4f53aeb2d4e17cb8ef7ed0e13767abd90981223423a3f10b5b71f8ef99145
|
Provenance
The following attestation bundles were made for bitsorg-0.1.1.tar.gz:
Publisher:
release.yml on bitsorg/bits
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitsorg-0.1.1.tar.gz -
Subject digest:
a7a2e28da6b32df4826a03d34f30cedec928086a3217126288a4928642628e29 - Sigstore transparency entry: 774110197
- Sigstore integration time:
-
Permalink:
bitsorg/bits@6347e241d742ff37cc218a39cddf3267d12f7daf -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/bitsorg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6347e241d742ff37cc218a39cddf3267d12f7daf -
Trigger Event:
release
-
Statement type:
File details
Details for the file bitsorg-0.1.1-py3-none-any.whl.
File metadata
- Download URL: bitsorg-0.1.1-py3-none-any.whl
- Upload date:
- Size: 496.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba8d49ed992e72030501065bac8d3510616255310f9399e23dd1e71c8172ff39
|
|
| MD5 |
0f4e4d7db3f17c4d857b654a71b43805
|
|
| BLAKE2b-256 |
8e7cf31faee39ae445175ce25c5d9438915d03be7a2b995eb2165f0921d89629
|
Provenance
The following attestation bundles were made for bitsorg-0.1.1-py3-none-any.whl:
Publisher:
release.yml on bitsorg/bits
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitsorg-0.1.1-py3-none-any.whl -
Subject digest:
ba8d49ed992e72030501065bac8d3510616255310f9399e23dd1e71c8172ff39 - Sigstore transparency entry: 774110200
- Sigstore integration time:
-
Permalink:
bitsorg/bits@6347e241d742ff37cc218a39cddf3267d12f7daf -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/bitsorg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6347e241d742ff37cc218a39cddf3267d12f7daf -
Trigger Event:
release
-
Statement type: