Skip to content

Instantly share code, notes, and snippets.

@Fluxx
Created March 2, 2012 23:18
Show Gist options
  • Select an option

  • Save Fluxx/1962223 to your computer and use it in GitHub Desktop.

Select an option

Save Fluxx/1962223 to your computer and use it in GitHub Desktop.
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment