Skip to content

Commit

Permalink
Revert "replace setuptools' find_packages by `find_namespace_packag…
Browse files Browse the repository at this point in the history
…es` (Lightning-AI#2153)"

This reverts commit f3601e3.
  • Loading branch information
Borda authored and matsumotosan committed Oct 14, 2023
1 parent aab8851 commit 0abfaf9
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_namespace_packages, setup
from setuptools import find_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_namespace_packages(where="src"),
packages=find_packages(where="src"),
package_dir={"": "src"},
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 0abfaf9

Please sign in to comment.