Skip to content

Commit

Permalink
[masa]: adding import helper for python
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasmalaya committed Jul 9, 2013
1 parent 778d4c6 commit a274e98
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ libfmasa_la_SOURCES = masa.f90
BUILT_SOURCES += $(srcdir)/masa_wrap.c
SWIG_SOURCES=masa.i

pkgpython_PYTHON = masa.py
pkgpython_PYTHON = masa.py __init__.py
pkgpyexec_LTLIBRARIES = _masa.la
_masa_la_SOURCES = $(srcdir)/masa_wrap.c $(SWIG_SOURCES)
_masa_la_CFLAGS = $(SWIG_PYTHON_CFLAGS) -I$(top_srcdir)/src
Expand Down
10 changes: 10 additions & 0 deletions src/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# masa __init__.py
#
# allow masa to be loaded via an import statement
#


#
# nick
# 7/9/13
#

0 comments on commit a274e98

Please sign in to comment.