Skip to content

Commit

Permalink
switch to new namespace management
Browse files Browse the repository at this point in the history
  • Loading branch information
laszewsk committed Nov 26, 2023
1 parent 7f52932 commit 64aca1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cloudmesh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
cloudmesh name space.
"""
# noa: E402
import pkg_resources
# import pkg_resources

pkg_resources.declare_namespace(__name__)
# pkg_resources.declare_namespace(__name__)

import os
import shutil
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import io
import sys

from setuptools import find_packages, setup
from setuptools import find_packages, find_namespace_packages, setup

def check_python():
if not sys.version_info.major == 3 and \
Expand Down Expand Up @@ -80,7 +80,11 @@ def readfile(filename):
version=version,
license="Apache 2.0",
url=URL,
packages=find_packages(exclude=("tests")),
packages=find_packages(exclude=("tests",
"deprecated",
"propose",
"examples",
"conda")) + find_namespace_packages(include=['cloudmesh.*']),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand Down

0 comments on commit 64aca1c

Please sign in to comment.