Skip to content

Commit 02e76c6

Browse files
authored
[Misc][Build] Fix packages for finding submodule (#43)
fix packages for finding submodule. see #42 Signed-off-by: MengqingCao <cmq0113@163.com>
1 parent e374be1 commit 02e76c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import os
2121
from typing import List
2222

23-
from setuptools import setup
23+
from setuptools import find_packages, setup
2424
from setuptools_scm import get_version
2525

2626
ROOT_DIR = os.path.dirname(__file__)
@@ -95,7 +95,7 @@ def _read_requirements(filename: str) -> List[str]:
9595
"Topic :: Scientific/Engineering :: Artificial Intelligence",
9696
"Topic :: Scientific/Engineering :: Information Analysis",
9797
],
98-
packages=['vllm_ascend'],
98+
packages=find_packages(exclude=("docs", "examples", "tests*", "patch")),
9999
python_requires=">=3.9",
100100
install_requires=get_requirements(),
101101
extras_require={},

0 commit comments

Comments
 (0)