From 7b9a7dea7061274d603b6a496e895daba2c0b136 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Sat, 24 Jun 2023 08:24:04 -0700 Subject: [PATCH] No longer a namespace package --- CHANGES.rst | 2 ++ py65/__init__.py | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index ffde31c..c19c9b1 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,6 +18,8 @@ - The ``MPU`` class constructor now accepts ``None`` for the initial PC, which will cause it to read the address from the reset vector on ``reset()``. +- The ``py65`` package is no longer a namespace package. + 1.1.0 (2018-07-01) ------------------ diff --git a/py65/__init__.py b/py65/__init__.py index f48ad10..a003759 100644 --- a/py65/__init__.py +++ b/py65/__init__.py @@ -1,6 +1 @@ -# 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__) +# this is a package