Skip to content

Commit

Permalink
+ installation via `make install'
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrkv committed Nov 4, 2011
1 parent f84e7b6 commit 756384f
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 9 deletions.
14 changes: 14 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
In order to install Ino from source tarball run:

make install

By default Ino is installed into `/usr/local'. You can change this by setting
PREFIX or DESTDIR variables.

* DESTDIR changes file system root (`/' by default)
* PREFIX sets installation prefix (`/usr/local` by default).

Examples:

* make install DESTDIR=~/ino
* make install PREFIX=/usr
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

DESTDIR=/
PREFIX=/usr/local

all:
@# do nothing yet

doc:
$(MAKE) -f doc/Makefile html

install:
python setup.py install --root $(DESTDIR) --prefix $(PREFIX) --exec-prefix $(PREFIX)

.PHONY : doc
17 changes: 9 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,17 @@ Features
Installation
============

With python setup tools::
$ sudo pip install ino
# ... or ...
$ sudo easy_install ino
From source:

* `Download latest source tarball <http://pypi.python.org/pypi/ino/#downloads>`_
* Or clone it from GitHub: ``git clone git://github.com/amperka/ino.git``
* Do ``make install`` to perform installation under ``/usr/local``
* Or see ``INSTALL`` for instructions on changing destination directory

Or clone from GitHub::
With Python setup tools:

$ git clone git://github.com/amperka/ino.git
$ export PATH=`pwd`/ino/bin
* Either ``pip install ino``
* Or ``easy_install ino``

Requirements
============
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def gen_data_files(package_dir, subdir):

setup(
name='ino',
version='0.1.10',
version='0.1.11',
description='Command line toolkit for working with Arduino hardware',
long_description=readme_content,
author='Victor Nakoryakov, Amperka Team',
Expand Down

0 comments on commit 756384f

Please sign in to comment.