I'm trying to create a package and I have a tree structure that looks like this:
dionesus/
setup.py
dionesus/
__init__.py
dionesus.py
Dionesus.py has a class called Dionesus. The init.py is empty.
How do I import the class Dionesus without having to specify the top level folder?
I have to do:
import dionesus
d = dionesus.dionesus.Dionesus()
I would like import statements to look like:
import dionesus
d = dionesus.Dionesus()