Go to file
Sylvain Tricot a9d42a81fe Merge branch 'devel' of https://git.ipr.univ-rennes1.fr/epsi/msspec_python3 into devel 2020-06-04 09:07:12 +02:00
CI Fix bugs in packaging procedure. 2020-03-12 16:16:28 +01:00
doc Add support for SPRKKR potential. 2020-04-10 17:36:25 +02:00
src Merge branch 'devel' of https://git.ipr.univ-rennes1.fr/epsi/msspec_python3 into devel 2020-06-04 09:07:12 +02:00
tests/sprkkr/copper Test script for sprkkr/msspec cooperation. 2020-04-10 17:41:21 +02:00
utils Work on continuous integration 2019-11-20 18:14:00 +01:00
.gitattributes Add .gitattributes 2019-11-15 16:53:41 +01:00
.gitignore Simplify code building and package creation. 2020-03-31 18:28:08 +02:00
Jenkinsfile Fix bug in Jenkinsfile 2019-12-06 13:49:28 +01:00
README.md Update README. 2020-04-14 09:31:28 +02:00
license.txt iUpdate the license info 2019-11-15 16:24:12 +01:00

README.md

Introduction

This is the Python MsSpec version with support for Python 3.x and dynamic memory allocation for Phagen and Spec

To work with the git repository

You can clone this repository onto your local computer using git

git clone https://git.ipr.univ-rennes1.fr/epsi/msspec_python3.git

This will create a folder named "msspec_python3" with all the source code inside.

You can also clone the development branch:

git clone --branch devel https://git.ipr.univ-rennes1.fr/epsi/msspec_python3.git

It is higly recommended to work in a Python virtual environment. To create one, you can use:

virtualenv --python=python3 msspec_venv

or

virtualenv --python=python3 --system-site-packages msspec_venv

to activate the virtual environment (if you are in the folder where you created "msspec_venv"):

source ./msspec_venv/bin/activate

Now you can build the program, go in the source folder

cd msspec_python3/src

Install the python package dependencies.

pip install -r setup_requirements.txt
pip install -r requirements.txt

You need to compile the fortran libs. This is done by the scons (Software Construction) program

scons

Finally, install the package in develop mode:

pip install -e .

That's all. All you need to do each time you want to work with msspec is activating the virtual environment