Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create Future Proof Healthcare Applications!

If you alread have a Python development environment setup, installing and running OSHIP can be as easy as:

1.svn co http://www.openehr.org/svn/ref_impl_python/TRUNK/oship oship

2.cd oship

3.buildout

4.bin/zopectl fg

 However, we do recommend that you use the official installation procedures to insure a clean and stable environment for you application development.

The installation instructions are located in the oship/src/oship/docs directory as  Installation.html

** Note **  if you are using SVN 1.5.x there is a conflict with setuptools

Here is the fix contributed by Peter Kuhn:

======================================================

 Ok,
in fact it has something to do with the svn version. I'm using svn
version 1.5.1 and it seems as if
setuptools version 0.6c8 really doesn't work with it.
Here is the way it worked for me:
Follow the installation guide until step 2.

$virtualenv ~/oshipenv

If you are using subversion >1.5 do following:

1. Check out the setuptools trunk:
svn co http://svn.python.org/projects/sandbox/trunk/setuptools
in some working directory

2. Build an egg out of it:
python setup.py bdist_egg
(You can find it in dist/ then. It is named something like
setuptools-0.7a1dev_r66388-py2.5.egg)

3. Copy this egg into ~/oshipenv/lib/python2.5/site-packages
4. delete the old
~/oshipenv/lib/python2.5/site-packages/setuptools-0.6....egg
5. Now you have to change two files. First open
~/oshipenv/lib/python2.5/site-packages/easy-install.pth with
the editor of your choice (in my case gedit)

(oshipenv)pkuhn@ubuntu:~$ gedit
~/oshipenv/lib/python2.5/site-packages/easy-install.pth

change the line to fit the file name of your new setuptools egg:

./setuptools-0.6c8-py2.5.egg

change it to

./setuptools-0.7a1dev_r66388-py2.5.egg

(of course the version numbers can differ)

Do the same with the file
~/oshipenv/lib/python2.5/site-packages/setuptools.pth

(oshipenv)pkuhn@ubuntu:~$ gedit
~/oshipenv/lib/python2.5/site-packages/setuptools.pth

change the line to fit the file name of your new setuptools egg:

./setuptools-0.6c8-py2.5.egg

change it to

./setuptools-0.7a1dev_r66388-py2.5.egg

(again the version numbers can differ)

Now continue with the installation guide

$cd ~/oshipenv
$source bin/activate

...

Cheers
Peter

====================================================== Details on the Launchpad site soon.