From easy_install [1]
easy_install -U sardana
From source code:
- Download the sardana source code:
- from latest stable version of sardana (1.2)
- from SVN snapshot
Extract the downloaded tar.gz into a temporary directory
type [2]
python setup.py build python setup.py install
test the installation:
python -c "import sardana; print sardana.Release.version"
You can also work from SVN trunk checkout (please look here for instructions).
This chapter provides a quick shortcut to all windows packages which are necessary to run sardana on your windows machine
Install all dependencies:
- from Python(x,y) (by far the easiest choise)
- Download and install a python 2.6/2.7 compatible version of python(x,y) from here
Download and install latest PyTango from PyTango downdoad page
Download and install latest taurus from Taurus downdoad page
Finally download and install latest sardana from Sardana downdoad page
Warning
These instructions will become obsolete as soon as Sardana 1.2 is released because the code development will be moved from SVN to Git. Updated instructions for using Git will be posted ASAP.
You can checkout sardana from SVN from the following location:
svn co http://svn.code.sf.net/p/sardana/code/trunk Sardana
You can directly execute sardana binaries (Pool, MacroServer, Sardana or spock from the command line):
homer@pc001:~/workspace$ cd Sardana
homer@pc001:~/workspace/Sardana$ scripts/Sardana
Footnotes
[1] | This command requires super user previledges on linux systems. If your user has them you can usually prefix the command with sudo: sudo easy_install -U sardana. Alternatively, if you don’t have administrator previledges, you can install locally in your user directory with: easy_install --user sardana In this case the executables are located at <HOME_DIR>/.local/bin. Make sure the PATH is pointing there or you execute from there. |
[2] | setup.py install requires user previledges on linux systems. If your user has them you can usually prefix the command with sudo: sudo python setup.py install. Alternatively, if you don’t have administrator previledges, you can install locally in your user directory with: python setup.py install --user In this case the executables are located at <HOME_DIR>/.local/bin. Make sure the PATH is pointing there or you execute from there. |