Yet Another Build Tool
Project description
=======================
YABT: Yaweza Build Tool
=======================
AKA: Yet Another Build Tool (the open source project).
Install
-------
Requires Python 3.4 or above, so make sure you have it (``type -P python3 && python3 -V``).
.. code-block:: shell
sudo apt-get install -y python3-dev python3-pip
sudo pip3 install --upgrade pip
sudo pip3 install ybt
To configure bash tab-completion, add the following line to your `.bashrc`:
.. code-block:: shell
eval "$(register-python-argcomplete ybt)"
Development
-----------
Requires Python 3.4 or above, so make sure you have it (``type -P python3 && python3 -V``).
Recommended with `virtualenvwrapper <http://virtualenvwrapper.readthedocs.org>`_.
Initial virtualenv setup with virtualenvwrapper
(when no virtualenv is active, run ``deactivate`` to make sure):
.. code-block:: shell
sudo apt-get install -y python3-dev python3-pip
mkvirtualenv --python="$(type -P python3)" yabt
cd $WORKON_HOME/yabt
git clone git@bitbucket.org:yowza3d/yabt.git
cd yabt
# install development requirements
pip install -r requirements.txt
# install YABT itself in local dev mode (in the virtualenv)
pip install -e .
You should be good to go now.
Try by running unit tests or manual test cases:
.. code-block:: shell
workon yabt
cd $WORKON_HOME/yabt/yabt
# Run unit tests:
make test
# Some manual tests:
cd tests/dag
ybt tree
ybt build
cd ../simple
ybt tree
# this one requires a running Docker engine,
# and the current user to be a member of the docker group
ybt build
YABT: Yaweza Build Tool
=======================
AKA: Yet Another Build Tool (the open source project).
Install
-------
Requires Python 3.4 or above, so make sure you have it (``type -P python3 && python3 -V``).
.. code-block:: shell
sudo apt-get install -y python3-dev python3-pip
sudo pip3 install --upgrade pip
sudo pip3 install ybt
To configure bash tab-completion, add the following line to your `.bashrc`:
.. code-block:: shell
eval "$(register-python-argcomplete ybt)"
Development
-----------
Requires Python 3.4 or above, so make sure you have it (``type -P python3 && python3 -V``).
Recommended with `virtualenvwrapper <http://virtualenvwrapper.readthedocs.org>`_.
Initial virtualenv setup with virtualenvwrapper
(when no virtualenv is active, run ``deactivate`` to make sure):
.. code-block:: shell
sudo apt-get install -y python3-dev python3-pip
mkvirtualenv --python="$(type -P python3)" yabt
cd $WORKON_HOME/yabt
git clone git@bitbucket.org:yowza3d/yabt.git
cd yabt
# install development requirements
pip install -r requirements.txt
# install YABT itself in local dev mode (in the virtualenv)
pip install -e .
You should be good to go now.
Try by running unit tests or manual test cases:
.. code-block:: shell
workon yabt
cd $WORKON_HOME/yabt/yabt
# Run unit tests:
make test
# Some manual tests:
cd tests/dag
ybt tree
ybt build
cd ../simple
ybt tree
# this one requires a running Docker engine,
# and the current user to be a member of the docker group
ybt build
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
ybt-0.2.0rc15.tar.gz
(47.0 kB
view details)
Built Distribution
ybt-0.2.0rc15-py3-none-any.whl
(74.0 kB
view details)
File details
Details for the file ybt-0.2.0rc15.tar.gz
.
File metadata
- Download URL: ybt-0.2.0rc15.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12747f5d99854d70b16e5ea2f65f889459f72ccbdc7d0adef64a3eaa8718d777 |
|
MD5 | c7f017e2f356d463d0ffe19dcc2fc454 |
|
BLAKE2b-256 | 87f07a89d68e1f6935a1d46b67f3d2de045e34aabcf18c3c4ed53954aa760b4e |
Provenance
File details
Details for the file ybt-0.2.0rc15-py3-none-any.whl
.
File metadata
- Download URL: ybt-0.2.0rc15-py3-none-any.whl
- Upload date:
- Size: 74.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b486c2eb1f043454296ebfaad2c3cc3bf7465a702334a81da35354e8874b46 |
|
MD5 | d8705da74115958b3a93cd91524622db |
|
BLAKE2b-256 | e823bdded296c0c629830391c189e75b824b7b50f3cfe1a00d56ca95570f00f9 |