Skip to main content

PlainBox

PlainBox is a plain replacement for CheckBox

Hacking

To start hacking use virtualenv with python3

$ sudo apt-get install python-virtualenv python3-dev $ virtualenv -p python3 /path/to/venv $ . /path/to/venv/bin/activate

On Ubuntu you’ll need to update the version of distribute that is installed inside the virtualenv to install coverage.

(venv) $ easy_install -U distribute (venv) $ easy_install -U coverage

Then ‘develop’ the package, this will setup proper path imports and create stub executables for you. All imports will now use your directory (no need to set PYTHONPATH to anything)

(venv) $ python3 setup.py develop

You will be now able to run plainbox:

(venv) $ plainbox –help

Testing

When hacking, run tests with code coverage (peek at .coveragerc):

(venv) $ coverage run setup.py test

You can also use the standard ‘discover’ command from python3 unittest module:

(venv) $ coverage run -m unittest discover

…then look at test report coverage in the console:

(venv) $ coverage report

…or in your browser:

(venv) $ coverage html (venv) $ xdg-open htmlcov/index.html

Using the checkbox submodule

This git tree uses the submodule system to put the entire checkbox source code repository in the checkbox directory. To use it, after you get the plainbox tree run the following commands:

$ git submodule init $ git submodule update

You only need to run init once, and update each time the chcekbox submodule is updated to point to new commit in the checkbox tree. If you use this all of plainbox tests and actual code will run using the embedded copy of checkbox. If you don’t do this you need to install checkbox globally using a system package.

Metadata

Release files for plainbox 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plainbox 0.1
File Size Uploaded
plainbox-0.1.tar.gz 34.9 kB Details

Release files / plainbox-0.1.tar.gz

Download URL plainbox-0.1.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c96aa72021b5415fc8d8e544b165f59f4b3de9e82a27c6973e0f818d8116ec0f
BLAKE2b-256 checksum
How to use checksums
374f7856ef80689831a3a0473675a9ab0a2703a60ffa9cf4bfaad7ddccc83c86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.38.0

1 release file

0.37.0

1 release file

0.35.0

1 release file

0.34.0

1 release file

0.33.0

1 release file

0.32.0

1 release file

0.31

1 release file

0.30

1 release file

0.29

1 release file

0.28

1 release file

0.27

1 release file

0.26

1 release file

0.25

1 release file

0.24

1 release file

0.23

1 release file

0.22.2

1 release file

0.22.1

1 release file

0.22

1 release file

0.21.2

1 release file

0.21.1

1 release file

0.21

1 release file

0.20

1 release file

0.19

1 release file

0.18

1 release file

0.17

1 release file

0.16

1 release file

0.15

1 release file

0.14

1 release file

0.13.1

1 release file

0.13

1 release file

0.12

1 release file

0.11

1 release file

0.10

1 release file

0.9

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page