|Version 7 (modified by anze, 18 months ago) (diff)|
OSX + PyCharm
To compile Orange, you need to download XCode Command Line Tools. Download XCode from App Store, go to Preferences > Downloads and install Command line tools.
Install homebrew and run
brew install python gfortran pyqt mercurial
pip install numpy pip install scipy
Open PyCharm, select Checkout from Version Control.
Enter orange repository url https://bitbucket.org/biolab/orange and select a location where it should be cloned to.
Wait ... (it took 7min on my computer, but it might be even longer).
Open preferences (CMD + ,) and select Python Interpreters
If the python interpreter with PyQt installed is not listed, you should add it. Clicking + and select the interpreter you want to use.
Create a new virtualenv, make sure you select the correct Base interpreter and check Inherit global site-packages.
When indexing stop, select Run > Edit configurations and create a new configuration for setup.py develop.
Run the newly created configuration, it should build the c part of orange. It should be run after every pull from the orange repository.
If you plan to develop widgets, you should also create two more Python configurations,
old canvas, pointing to .../orange/Orange/OrangeCanvas/orngCanvas.pyw
new canvas, pointing to .../orange/Orange/OrangeCanvas/main.py
- step01.png (120.9 KB) - added by anze 18 months ago.
- step02.png (67.8 KB) - added by anze 18 months ago.
- step03.png (29.2 KB) - added by anze 18 months ago.
- step04.png (192.2 KB) - added by anze 18 months ago.
- step05.png (230.1 KB) - added by anze 18 months ago.
- step06.png (200.0 KB) - added by anze 18 months ago.