Skip to content

Commit

Permalink
remove the namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
omehrabi committed Jul 23, 2024
1 parent b9a73e3 commit 32e0fe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import shlex
import unittest
import subprocess
from setuptools import setup, find_packages, Command
from setuptools import setup, find_packages, Command, find_namespace_packages
from setuptools.command.test import test

pkg_name = 'rest.connector'
Expand Down Expand Up @@ -130,7 +130,7 @@ def find_version(*paths):
],

# uses namespace package
namespace_packages=['rest'],
namespace_packages=find_namespace_packages(include=['rest'],

# project keywords
keywords='pyats cisco-shared',
Expand Down
2 changes: 1 addition & 1 deletion src/rest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
__contact__ = 'pyats-support@cisco.com'
__copyright__ = 'Cisco System, Inc. Cisco Confedential'

__import__('pkg_resources').declare_namespace(__name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

0 comments on commit 32e0fe2

Please sign in to comment.