summaryrefslogtreecommitdiff
path: root/pkg/osx/README.rst
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-03-20 21:05:01 +0900
committerkali <kali@leap.se>2013-03-21 21:18:54 +0900
commitb6de685a52c2715adfc639925a9ddac364cd4f00 (patch)
treeea705afc71a148fd3d6f296cc3da542c69d029c0 /pkg/osx/README.rst
parente33081871affdbca197ea77c461b1379b9039117 (diff)
re-add osx pyinstaller build scripts
Diffstat (limited to 'pkg/osx/README.rst')
-rw-r--r--pkg/osx/README.rst45
1 files changed, 45 insertions, 0 deletions
diff --git a/pkg/osx/README.rst b/pkg/osx/README.rst
new file mode 100644
index 00000000..af5f7668
--- /dev/null
+++ b/pkg/osx/README.rst
@@ -0,0 +1,45 @@
+environment setup in osx
+========================
+(I rm'd my README by mistake at some point. Re-do).
+
+basically you need this to setup your environment:
+
+# check and consolidate
+
+# install xcode and macports
+# port -v selfupdate
+# port install python26
+# port install python_select
+# port select python python26
+# port install py26-pyqt4
+# port install py26-pip
+# port install py26-virtualenv
+# port install git-core
+# port install platypus
+
+Requirements
+============
+pyinstaller (in ~/pyinstaller)
+platypus (tested with latest macports)
+
+... + install environment as usual,
+ inside virtualenv.
+
+Building the package
+====================
+
+Building the binary
+-------------------
+We use the scripts in openvpn/build.zsh
+The packaging Makefile is expecting the final binary in the location::
+
+ ../../openvpn/build/openvpn.leap
+
+Running the build
+-----------------
+IMPORTANT: activate the VIRTUALENV FIRST!
+(you will get an import error otherwise)
+
+For running all steps at once::
+
+ make pkg