Skip to content

Commit

Permalink
INSTALL updated
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlei committed Nov 5, 2016
1 parent 7c33166 commit 8153bb8
Showing 1 changed file with 38 additions and 10 deletions.
48 changes: 38 additions & 10 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,54 @@ Installation with easy_install
==============================

This is the preferred option, because easy_install takes care of
everything -- finding the dowinload site, and installing the dependences
(numpy and networkx). If you don't have easy_install, this is the
perfect time to install it. It is a part of setuptools package located
at http://pypi.python.org/pypi/setuptools.
everything -- finding the dowinload site, and installing the
dependences. If you don't have easy_install, this is the perfect time
to install it. It is a part of setuptools package, so for linux users

$ easy_install smop
sudo apt-get install python-setuptools

For other operating systems, see

http://pypi.python.org/pypi/setuptools

Now create directory ~/.local/bin and make sure it is in your path.
Install smop:

easy_install --user smop

Alternatively, install as root

sudo easy_install smop

Installing the dependences
==========================

From time to time, one of the projects that we depend on, fails to
install using easy_install (as of Nov 6, 2016 scipy). Don't panic.
Manually install whatever projects are missing.

sudo apt-get install python-setuptools python-ply python-numpy python-scipy

Binary Windows installer
========================

Download it from github then run it, but you must make sure you have
installed the dependences -- numpy and networkx.
installed the dependences.

Installation from sources
=========================

$ tar zxvf smop.tar.gz
$ cd smop
$ python setup.py install [--user]
1. Clone git repository

git clone https://github.com/victorlei/smop.git

2. Install the dependences. This was tested on ubuntu and linuxmint

sudo apt-get install python-setuptools python-ply python-numpy python-scipy

3. Run the install script

sudo python setup.py install [--user]

If you use the --user option, don't forget to put
your .local/bin into the search path (unix only).

0 comments on commit 8153bb8

Please sign in to comment.