[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] [getfem-commits] branch master updated: Fix python 3 mo

From: Konstantinos Poulios
Subject: [Getfem-commits] [getfem-commits] branch master updated: Fix python 3 module import
Date: Wed, 01 Apr 2020 12:21:20 -0400

This is an automated email from the git hooks/post-receive script.

logari81 pushed a commit to branch master
in repository getfem.

The following commit(s) were added to refs/heads/master by this push:
     new e3fa52a  Fix python 3 module import
e3fa52a is described below

commit e3fa52a6ac917295537aefe78ac01b3f8d0a69b8
Author: Konstantinos Poulios <address@hidden>
AuthorDate: Wed Apr 1 18:21:10 2020 +0200

    Fix python 3 module import
 bin/extract_doc                  | 2 +-
 interface/src/python/ | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/extract_doc b/bin/extract_doc
index 3d5788c..72bdf25 100755
--- a/bin/extract_doc
+++ b/bin/extract_doc
@@ -1622,7 +1622,7 @@ except ImportError:
 from numpy import *
-from _getfem import *
+from ._getfem import *
 obj_count = {}
 getfem('workspace', 'clear all')
diff --git a/interface/src/python/ b/interface/src/python/
index 1971861..d0cb235 100644
--- a/interface/src/python/
+++ b/interface/src/python/
@@ -13,4 +13,4 @@ __LICENSE__ = """\
 GetFEM++ is free software; you can redistribute it and/or modify it under the 
terms of the GNU Lesser General Public License as published by the Free 
Software Foundation; either version 3 of the License, or (at your option) any 
later version along with the GCC Runtime Library Exception either version 3.1 
or (at your option) any later version. This program is distributed in the hope 
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 
warranty of MERCHANTABILITY or F [...]
-from getfem import *
+from .getfem import *

reply via email to

[Prev in Thread] Current Thread [Next in Thread]