From 9d4520e8e18d7bf9b36d98d330417360194e80a3 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 3 Apr 2018 02:25:57 +0000 Subject: shift docs around a bit --- README.md | 16 ++++++++++++---- pig/README.md | 5 ----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1a251eb..8589705 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ _ _ - _________ ___ __ _ _ __ __| | ___ _ __ __ ___ _| | ___ _ __ - \ | / __|/ _` | '_ \ / _` |/ __| '__/ _` \ \ /\ / / |/ _ \ '__| - \ | \__ \ (_| | | | | (_| | (__| | | (_| |\ V V /| | __/ | - \@@@@@@| |___/\__,_|_| |_|\__,_|\___|_| \__,_| \_/\_/ |_|\___|_| + __________ ___ __ _ _ __ __| | ___ _ __ __ ___ _| | ___ _ __ + \ | / __|/ _` | '_ \ / _` |/ __| '__/ _` \ \ /\ / / |/ _ \ '__| + \ | \__ \ (_| | | | | (_| | (__| | | (_| |\ V V /| | __/ | + \ooooooo| |___/\__,_|_| |_|\__,_|\___|_| \__,_| \_/\_/ |_|\___|_| This repo contains hadoop tasks (mapreduce and pig), luigi jobs, and other @@ -14,3 +14,11 @@ This repository is potentially public. Archive-specific deployment/production guides and ansible scripts at: [journal-infra](https://git.archive.org/bnewbold/journal-infra) +## Python Setup + +Pretty much everything here uses python/pipenv. To setup your environment for +this, and python in general: + + # libjpeg-dev is for some wayback/pillow stuff + sudo apt install python3-dev python3-pip python3-wheel libjpeg-dev + pip3 install --user pipenv diff --git a/pig/README.md b/pig/README.md index 86d487a..9e45333 100644 --- a/pig/README.md +++ b/pig/README.md @@ -17,11 +17,6 @@ Fetch dependencies (pig): Write .pig scripts here, and add a pytho wrapper test to `./tests/` when done. Test vector files (input/output) can go in `./tests/files/`. -Install pipenv system-wide if you don't have it: - - # or use apt, homebrew, etc - sudo pip3 install pipenv - Run the tests with: pipenv run pytest -- cgit v1.2.3