From 5e6c5337d0ca8022de383120c76d0228a2534df7 Mon Sep 17 00:00:00 2001 From: Lauri Himanen <lauri.himanen@aalto.fi> Date: Wed, 22 Jun 2016 14:04:26 +0300 Subject: [PATCH] Some updates related to python3 transition. --- .gitignore | 3 +++ README.md | 19 ++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index cae25f9..6b76ce4 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,6 @@ TAGS lib/ env/ + +# egg from setuptools install +common/python/nomadcore.egg-info/ diff --git a/README.md b/README.md index 8198d04..2b1e000 100644 --- a/README.md +++ b/README.md @@ -20,25 +20,38 @@ then this will be in python-common within it. # Local Install -The following instructions were tested on Ubuntu 14.04. With these instructions you can install the package for the local user (doesn't need root privileges). First make sure you have [pip](https://pypi.python.org/pypi/pip) available. If not, you can install it with: +The following instructions were tested on Ubuntu 14.04. With these instructions +you can install the package for the local user (doesn't need root privileges). +First make sure you have [pip](https://pypi.python.org/pypi/pip) available. If +not, you can install it for python 2.x with: ```sh wget https://bootstrap.pypa.io/get-pip.py python get-pip.py --user ``` +or for python3 with: + +```sh +wget https://bootstrap.pypa.io/get-pip.py +python3 get-pip.py --user +``` + The modules used for parser development are located under the 'nomadcore' package. If you wish to setup this package locally, you can do so by first -installing the required dependencies. +installing the required dependencies (use pip3 for python3 setup) ```sh pip install -r requirements.txt --user +#pip3 install -r requirements.txt --user ``` -and then installing the package itself with the provided installation script: +and then installing the package itself with the provided installation +script(use python3 for python3 setup) ```sh python setup.py develop --user +#python3 setup.py develop --user ``` This will install a development version, which means that if you update the -- GitLab