Use 'from __future__ import absolute_import' to make the right paths be imported

This commit is contained in:
Ruben Undheim 2019-02-13 22:27:15 +01:00
parent de2317278b
commit 89bbd35906
3 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Shortcut openEMS import # Shortcut openEMS import
from __future__ import absolute_import
from openEMS.openEMS import openEMS from openEMS.openEMS import openEMS

View File

@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
from __future__ import absolute_import
import os import os
import numpy as np import numpy as np

View File

@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
from __future__ import absolute_import
import os import os
import numpy as np import numpy as np