Skip to content

Commit

Permalink
Merge pull request #393 from pansapiens/osx-build
Browse files Browse the repository at this point in the history
Add OS X dependencies to build instructions & pip requirements list.
  • Loading branch information
grischa committed Feb 25, 2015
2 parents 3356f0b + afb86fe commit 9756fa1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
16 changes: 13 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,26 @@
echo This is a guide only, please either edit or run appropriate commands manually
exit

# for ubuntu 14.04
# for Ubuntu 14.04
# sudo apt-get update
# sudo apt-get install python-pip git libxml2-dev libxslt1-dev python-dev zlib1g-dev python-wand
# sudo apt-get install python-virtualenv virtualenvwrapper python-psycopg2 python-yaml ipython
# sudo apt-get install python-anyjson python-bs4 python-billiard python-feedparser python-html5lib
# sudo apt-get install python-httplib2 python-pystache python-crypto python-flexmock

. virtualenvwrapper.sh
# . /usr/share/virtualenvwrapper/virtualenvwrapper.sh
# for OS X we need these dependencies installed via brew
# brew install imagemagick --with-libtiff
# brew install libmagic freetype
# brew install postgresql
# or for a local development server, install http://postgresapp.com/

# for Ubuntu 14.04
# source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
# for OS X
# source /usr/local/bin/virtualenvwrapper.sh

mkvirtualenv --system-site-packages mytardis

pip install -U pip
pip install -r requirements.txt
# for OS X, but might also need some brew requirements.
Expand Down
17 changes: 13 additions & 4 deletions requirements-osx.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
psycopg2
pystache
mock
beautifulsoup4
PyYAML
anyjson==0.3.3
beautifulsoup4==4.2.1
billiard==3.3.0.15
feedparser==5.1.3
flexmock
html5lib
httplib2==0.8
mock
psycopg2==2.4.5
pycrypto==2.6.1
pystache
virtualenv
virtualenvwrapper

0 comments on commit 9756fa1

Please sign in to comment.