From 566469783d6ea0e578d314232bff7d622c671241 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 10 Jan 2020 16:18:38 -0800 Subject: setup notes and CI (for psycopg2 dependency) --- .gitlab-ci.yml | 2 +- README.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5053a57..6a948dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ before_script: - echo "deb https://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 - apt update -qy - - apt install -y python3-dev python3-pip python3-wheel libjpeg-dev openjdk-8-jdk-headless sbt + - apt install -y python3-dev python3-pip python3-wheel libjpeg-dev openjdk-8-jdk-headless sbt libpq-dev python-dev - pip3 install pipenv - pipenv --version diff --git a/README.md b/README.md index 386149d..dfa5b26 100644 --- a/README.md +++ b/README.md @@ -38,3 +38,8 @@ The `./please` python3 wrapper script is a helper for running jobs (python or scalding) on the IA Hadoop cluster. You'll need to run the setup/dependency tasks first; see README files in subdirectories. +## Running Python Code + +You need python3.5 (or python3.6+ and `pyenv`) and `pipenv` to set up the +environment. You may also need the debian packages `libpq-dev` and ` +python-dev` to install some dependencies. -- cgit v1.2.3