Downloading MIEN

Mien can be downloaded from several sources:

A Note about the svn repository

Typically, a subversion repository has toplevel directories named "tags", "branches", and "trunk" (or maybe "main"). The MIEN repository is set up like this also, but the "trunk" directory is actually named "mien". This mean that if you do the following:

cd $HOME svn co http://mien.msu.montana.edu/svn/mien

you will get a directory $HOME/mien/mien. The name of the top level mien command will be $HOME/mien/mien/frontends/mien.

At that point, like my coworkers, you may say YUCK! Why??

Well, I agree that it is rather ugly, but it has the advantage that the mien Python package can be imported directly from a subversion working copy. The name of the directory defines the name of the Python package, so if it was named "trunk", mien couldn't run directly from the svn working copy, which is how I like to run it in my day-to-day work. If you want to do this too, you could set your PYTHONPATH to include $HOME/mien. Then you can import module mien from $HOME/mien/mien/__init__.py

If you aren't developing MIEN, it is probably more convenient to use one of the svn commands listed above. These will extract only the "mien" (aka "trunk") subdirectory, which can be used directly as a Python package.

 

Last edit: 05/29/09

Index