summaryrefslogtreecommitdiff
path: root/pkg/osx/README.rst
blob: 92799ebd3ceb115d658f3791e59a1bce091aa37c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
environment setup in osx
========================

TODO:: REALLY old notes, adapting to newest flow.

basically you need this to setup your environment:

# check and consolidate

# install xcode and homebrew

# brew install python2.7
# brew install python-virtualenwrapper
# brew install qt
# brew install git
# brew install platypus
# brew install upx

Requirements
============
pyinstaller
-----------

You need the development version. do `python setup.py develop` inside your
virtualenv.

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