From f4a437c36aa53b701466328cba05ac4a34151b63 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Tue, 24 May 2016 19:55:45 +0000
Subject: [PATCH] Added automated python script system-wide installation in build.sh

---
 python/setup.py    |    9 +++++++++
 python/MANIFEST.in |    1 +
 build.sh           |    4 +++-
 3 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index 2ac3b5a..a587e47 100755
--- a/build.sh
+++ b/build.sh
@@ -8,4 +8,6 @@
 make clean
 make
 sudo make install
-
+cd python
+sudo python3 setup.py install
+cd ..
diff --git a/python/MANIFEST.in b/python/MANIFEST.in
new file mode 100644
index 0000000..73b9b6d
--- /dev/null
+++ b/python/MANIFEST.in
@@ -0,0 +1 @@
+recursive-include trisurf *.py
diff --git a/python/setup.py b/python/setup.py
new file mode 100644
index 0000000..fb98073
--- /dev/null
+++ b/python/setup.py
@@ -0,0 +1,9 @@
+from distutils.core import setup
+
+setup(name="trisurf", version="0.1a",
+description="Python trisurf-ng managing scripts for organized multiple runs of simultations",
+author="Samo Penic",
+author_email="samo.penic@gmail.com",
+url="",
+packages=["trisurf"]
+)

--
Gitblit v1.9.3