From c094d632e6475b48e7d40a67688a047dac8cb799 Mon Sep 17 00:00:00 2001 From: Victor Leikehman Date: Tue, 22 May 2018 06:29:59 +0300 Subject: [PATCH] I think missing version.py is fixed now --- smop/__init__.py | 6 +----- smop/main.py | 5 ++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/smop/__init__.py b/smop/__init__.py index f52c40fc..8d8b2374 100644 --- a/smop/__init__.py +++ b/smop/__init__.py @@ -1,6 +1,2 @@ # SMOP compiler -- Simple Matlab/Octave to Python compiler -# Copyright 2011-2014 Victor Leikehman - -import version -import parse,resolve,backend,main -from version import __version__ +# Copyright 2011-2018 Victor Leikehman diff --git a/smop/main.py b/smop/main.py index 899489d2..b8623203 100644 --- a/smop/main.py +++ b/smop/main.py @@ -17,14 +17,13 @@ import parse import resolve import backend -import version +from version import __version__ def print_header(fp): if options.no_header: return - print("# Autogenerated with SMOP ", - version.__version__, file=fp) + print("# Generated with SMOP ", __version__, file=fp) print("from libsmop import *", file=fp) print("#", options.filename, file=fp)