Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 27 Next »

Create Future Proof Healthcare Applications!

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

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

  • No labels