Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitsorg-0.1.1.tar.gz (485.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bitsorg-0.1.1-py3-none-any.whl (496.1 kB view details)

Uploaded Python 3

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

Hashes for bitsorg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a7a2e28da6b32df4826a03d34f30cedec928086a3217126288a4928642628e29
MD5 6d8f4a4dfe31d28cb56fb00bec04a2ba
BLAKE2b-256 59b4f53aeb2d4e17cb8ef7ed0e13767abd90981223423a3f10b5b71f8ef99145

See more details on using hashes here.

Provenance

The following attestation bundles were made for bitsorg-0.1.1.tar.gz:

Publisher: release.yml on bitsorg/bits

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for bitsorg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba8d49ed992e72030501065bac8d3510616255310f9399e23dd1e71c8172ff39
MD5 0f4e4d7db3f17c4d857b654a71b43805
BLAKE2b-256 8e7cf31faee39ae445175ce25c5d9438915d03be7a2b995eb2165f0921d89629

See more details on using hashes here.

Provenance

The following attestation bundles were made for bitsorg-0.1.1-py3-none-any.whl:

Publisher: release.yml on bitsorg/bits

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page