|
From: <gea...@us...> - 2009-10-06 20:56:37
|
Revision: 357
http://mypyspace.svn.sourceforge.net/mypyspace/?rev=357&view=rev
Author: gearmonkey
Date: 2009-10-06 20:55:19 +0000 (Tue, 06 Oct 2009)
Log Message:
-----------
I believe this modified setup.py should massively aid library install.
Now the following should be possible:
svn co https://mypyspace.svn.sourceforge.net/svnroot/mypyspace/mps/trunk mps
cd mps
python setup.py install
and done, complete with dependency checking and such. In order to make this work, there is now an external pull to motools/mopy and mopy is installed by the setup script after genpy.py is run (which the setup.py file does for you.)
Modified Paths:
--------------
mps/trunk/setup.py
Modified: mps/trunk/setup.py
===================================================================
--- mps/trunk/setup.py 2009-10-06 18:20:33 UTC (rev 356)
+++ mps/trunk/setup.py 2009-10-06 20:55:19 UTC (rev 357)
@@ -15,9 +15,14 @@
from setuptools import setup, find_packages
from subprocess import call
+from os import chdir, getcwd
+
#this is a bit of a mess, should do it internally.
-call(["python", "mopy/genpy.py"])
+chdir("mopy")
+print getcwd()
+call(["python", "genpy.py"])
+chdir("..")
setup (name = 'mps',
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|