Skip to content
Snippets Groups Projects
Commit 5e6c5337 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Some updates related to python3 transition.

parent 4f3b182e
No related branches found
No related tags found
No related merge requests found
...@@ -49,3 +49,6 @@ TAGS ...@@ -49,3 +49,6 @@ TAGS
lib/ lib/
env/ env/
# egg from setuptools install
common/python/nomadcore.egg-info/
...@@ -20,25 +20,38 @@ then this will be in python-common within it. ...@@ -20,25 +20,38 @@ then this will be in python-common within it.
# Local Install # 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 ```sh
wget https://bootstrap.pypa.io/get-pip.py wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py --user 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' 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 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 ```sh
pip install -r requirements.txt --user 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 ```sh
python setup.py develop --user python setup.py develop --user
#python3 setup.py develop --user
``` ```
This will install a development version, which means that if you update the This will install a development version, which means that if you update the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment