How to contribute to Rubicon¶
Set up your development environment¶
The recommended way of setting up your development environment for Rubicon is to install a virtual environment, install the required dependencies and start coding:
$ python3 -m venv venv $ source venv/bin/activate.sh $ git clone firstname.lastname@example.org:pybee/rubicon-objc.git $ cd rubicon-objc $ pip install -e .
In order to test the capabilities of Rubicon, the test suite contains an Objective-C library with some known classes. To run the test suite, you’ll need to compile this library:
This will produce tests/objc/librubiconharness.dylib.
In order for Rubicon to find this file, it will need to be on your dynamic library path. You can set this by setting an environment variable:
$ export DYLD_LIBRARY_PATH=$(pwd)/tests/objc
You can then run the test suite:
$ python setup.py test
Now you are ready to start hacking on Rubicon. Have fun!