Skip to content

Commit

Permalink
Keep _gaia2.so inside gaia2 dist-packages folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dbogdanov committed Nov 28, 2019
1 parent 84d3e57 commit 6d78f93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bindings/gaia.swig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%module gaia2
%module(moduleimport="import _gaia2") gaia2
%{
#include <cstddef>
%}
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def build(bld):
swig_flags = '-c++ -python -w451',
use = ['gaia2'] + bld.env['USELIB'], # + ['BINDINGS'],
includes = bld.env['CPPPATH_BINDINGS'],
install_path = '${PYTHONDIR}'
install_path = '${PYTHONDIR}/gaia2'
)

bld.install_as('${PYTHONDIR}/gaia2/__init__.py', 'gaia2.py')
Expand Down

0 comments on commit 6d78f93

Please sign in to comment.