Fixed $SHELL

This commit is contained in:
Anthony Scemama 2019-01-09 00:44:17 +01:00
parent 5412e3e2f9
commit 03e3117a73
4 changed files with 26 additions and 14 deletions

View File

@ -8,7 +8,7 @@ Dependencies
------------ ------------
- GNU make (>= 3.81 recommended) - GNU make (>= 3.81 recommended)
- Python > 2.3 - Python >2.6
- Any Fortran 90 compiler (Intel recommended) - Any Fortran 90 compiler (Intel recommended)
Installing IRPF90 Installing IRPF90

View File

@ -29,7 +29,7 @@
case "$0" in case "$0" in
*irpman) *irpman)
if [[ -z $1 ]] ; then if [[ -z $1 ]] ; then
if [[ $(basename $SHELL) == "zsh" ]] if [[ $(ps -p $$ -ocomm=) == "zsh" ]]
then then
source $(dirname $0)/../irpman-completions.bash source $(dirname $0)/../irpman-completions.bash
else else

View File

@ -24,7 +24,7 @@
# 31062 Toulouse Cedex 4 # 31062 Toulouse Cedex 4
# scemama@irsamc.ups-tlse.fr # scemama@irsamc.ups-tlse.fr
if [[ $(basename $SHELL) == "zsh" ]] if [[ $(ps -p $$ -ocomm=) == "zsh" ]]
then then
autoload bashcompinit autoload bashcompinit
bashcompinit bashcompinit

View File

@ -1,19 +1,31 @@
from distutils.core import setup import sys
import os
os.path.append("../src") sys.path.append("../src")
import version import version
setup(
import setuptools
with open("../README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name = 'irpf90', name = 'irpf90',
packages = ['irpf90_libs'], # this must be the same as the name above
version = version.version, version = version.version,
description = '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.', scripts = ["irpf90", "irpman", "irpf90_indent"],
author = 'Anthony Scemama', author = 'Anthony Scemama',
author_email = 'scemama@irsamc.ups-tlse.fr', author_email = 'scemama@irsamc.ups-tlse.fr',
url = 'http://irpf90.ups-tlse.fr', description = '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.',
long_description=long_description,
long_description_content_type="text/markdown",
url="https://irpf90.ups-tlse.fr",
download_url = 'https://gitlab.com/scemama/irpf90/archive/v1.7.4.tar.gz', download_url = 'https://gitlab.com/scemama/irpf90/archive/v1.7.4.tar.gz',
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Fortran",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX :: Linux",
],
keywords = ['programming', 'fortran', 'IRP'], keywords = ['programming', 'fortran', 'IRP'],
classifiers = [], )
scripts = ["irpf90", "irpman", "irpf90_indent"],
)