Why do I need to include sub-packages in setup.py
I have a python package called mltester which contains two sub-packages ( actions , dialogs ) and a main script ml_tester.py , structured as follows: + <ProjectFolder> +---+ <mltester> | +---- <actions> | +---- <dialogs> | +---- ml_tester.py | +---- __init__.py +---- setup.py My __init__.py looks as follows: import actions import dialogs import ml_tester In ml_tester.py I do something like: from actions import * from dialogs import * All works fine when running from eclipse. When doing pip install , the following setup.py works fine: from setuptools import setup setup( name="MLTester", version