ECC-200: Must use different string for Python package name: ecCodes (stop clash with F90 = eccodes)

This commit is contained in:
Shahram Najm 2016-07-13 13:45:50 +01:00
parent bb4c780fef
commit d8b0c75f01
2 changed files with 4 additions and 8 deletions

View File

@ -10,7 +10,8 @@ set -e
./process_C_header.pl ../src/grib_api.h ../src/eccodes.h > eccodes.h
./process_python.pl ../python/gribapi.py > eccodes.py
# Python doxygen module will be "ecCodes" to distinguish it from "eccodes" for F90
./process_python.pl ../python/gribapi.py > ecCodes.py
rm -fr ../html/*
touch ../html/Makefile.am
@ -21,4 +22,4 @@ doxygen grib_api_wiz.cfg
# Remove temp files
rm -f eccodes.h
rm -f eccodes.py
rm -f ecCodes.py

View File

@ -5,16 +5,11 @@ use strict;
$|=1;
my $debug = 0;
#if (scalar @ARGV < 1) {
# &usage;
#}
while (<>) {
s/\@package gribapi/\@package eccodes/;
s/\@package gribapi/\@package ecCodes/;
s/\bGRIB_CHECK\b/CODES_CHECK/;
s/\bGRIB_MISSING_DOUBLE\b/CODES_MISSING_DOUBLE/;
s/\bGRIB_MISSING_LONG\b/CODES_MISSING_LONG/;