Basically my python package is setup like:
module
\\_examples
\\_folder1
\\_file1.py
\\_file2.py
\\_folder2
\\_file1.py
\\_file2.py
I believe what you're looking for is something like this for you setup.py
, which will recursively find any packages in the project, also be sure and include __init__.py
files to subdirectories for each package you want.
from setuptools import setup, find_packages
setup(name='MySoftware',
packages=find_packages()
)