We\'re starting a new project in Python with a few proprietary algorithms and sensitive bits of logic that we\'d like to keep private. We also will have a few outsiders (sel
Here's an alternate solution I noticed when reading the docs for Flask:
flaskext/__init__.pyThe only purpose of this file is to mark the package as namespace package. This is required so that multiple modules from different PyPI packages can reside in the same Python package:
__import__('pkg_resources').declare_namespace(__name__)If you want to know exactly what is happening there, checkout the distribute or setuptools docs which explain how this works.