Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding import module in __init__.py #11

Open
MarcAntoine-Arnaud opened this issue Dec 18, 2013 · 1 comment
Open

adding import module in __init__.py #11

MarcAntoine-Arnaud opened this issue Dec 18, 2013 · 1 comment

Comments

@MarcAntoine-Arnaud
Copy link
Member

When the Python binding is create using a module with different nam as the package, it require to mention:
import module
in init.py

  • refers at line 1444 of init.py
    Where actually only a touch is made. But I don't know how to do with SCons (no writing command is provide...)
@fcastan
Copy link
Contributor

fcastan commented Dec 18, 2013

Currently it only creates a module, so you have to do:
from my_module import module

But with that solution, you can't do:
import my_module
my_module.module.do_something()

That's your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants