From 1e1b21793846a136b5ff01ca6998ac50aa706934 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Wed, 19 Feb 2020 16:10:55 +0100 Subject: [PATCH] Fixed pip setup --- pip/README.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ pip/setup.py | 4 ++-- src/version.py | 2 +- 3 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 pip/README.md diff --git a/pip/README.md b/pip/README.md new file mode 100644 index 0000000..f761fe2 --- /dev/null +++ b/pip/README.md @@ -0,0 +1,52 @@ +IRPF90 +====== +[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/scemama/irpf90?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + +IRPF90 is a Fortran90 preprocessor written in Python for programming using the Implicit Reference to Parameters (IRP) method. It simplifies the development of large fortran codes in the field of scientific high performance computing. + +Dependencies +------------ + +- GNU make (>= 3.81 recommended) +- Python >2.6 +- Any Fortran 90 compiler (Intel recommended) + +Installing IRPF90 +----------------- + +``pip install irpf90`` + +or + +``${IRPF90_HOME}`` is the location of your irpf90 directory:: + +``` bash +cd ${IRPF90_HOME} +make +cat << EOF >> ${HOME}/.bash_profile +export PYTHONPATH=${IRPF90_HOME}/src:${PYTHONPATH} +export PATH=${IRPF90_HOME}/bin:${PATH} +export MANPATH=${IRPF90_HOME}/man:${MANPATH} +EOF +source ${HOME}/.bash_profile +``` + + +Using IRPF90 +------------ + +In an empty directory, run: + +``` bash +irpf90 --init +``` + +This command creates a new Makefile suitable for most irpf90 projects. +Now you can start to program using irpf90. + + +Web Site +-------- + +http://irpf90.ups-tlse.fr + diff --git a/pip/setup.py b/pip/setup.py index 6160cce..a943623 100644 --- a/pip/setup.py +++ b/pip/setup.py @@ -2,12 +2,12 @@ import sys import setuptools -with open("../README.md", "r") as fh: +with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name = 'irpf90', - version = '1.7.6', + version = '1.7.7', scripts = ["irpf90", "irpman", "irpf90_indent"], author = 'Anthony Scemama', author_email = 'scemama@irsamc.ups-tlse.fr', diff --git a/src/version.py b/src/version.py index 72f4cc2..c3fcf05 100644 --- a/src/version.py +++ b/src/version.py @@ -1 +1 @@ -version = "1.7.6" +version = "1.7.7"