Skip to content

Commit

Permalink
I think missing version.py is fixed now
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlei committed May 22, 2018
1 parent c0d2f8a commit c094d63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 1 addition & 5 deletions smop/__init__.py
Original file line number Diff line number Diff line change
@@ -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
5 changes: 2 additions & 3 deletions smop/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c094d63

Please sign in to comment.