diff --git a/.gitignore b/.gitignore index cae25f9abdd397c5be576b91fc5b2170ad18efd5..6b76ce4463c14ddc0fb07fb9bd6f06bfbf8e2e08 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 8198d049583d485d3f1dd1848dfced0748f543e9..2b1e000053ab8f723a17e61c55bde4f634629b45 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