Skip to content

Commit

Permalink
replace setuptools' find_packages by find_namespace_packages (#2153)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Oct 9, 2023
1 parent c08fe0b commit f3601e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from typing import Any, Iterable, Iterator, List, Optional, Tuple, Union

from pkg_resources import Requirement, yield_lines
from setuptools import find_packages, setup
from setuptools import find_namespace_packages, setup

_PATH_ROOT = os.path.realpath(os.path.dirname(__file__))
_PATH_SOURCE = os.path.join(_PATH_ROOT, "src")
Expand Down Expand Up @@ -200,7 +200,7 @@ def _prepare_extras(
url=ABOUT.__homepage__,
download_url=os.path.join(ABOUT.__homepage__, "archive", "master.zip"),
license=ABOUT.__license__,
packages=find_packages(where="src"),
packages=find_namespace_packages(where="src"),
package_dir={"": "src"},
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit f3601e3

Please sign in to comment.