(fix) fix pyproject.toml (#226)

## Summary
In https://github.com/linkedin/Liger-Kernel/pull/218, I fixed the
`tool.setuptools.packages.find` field and tested it only in editable
mode with `pip install -e .`. However, in production mode with `pip
install .`, only the env_report.py file is copied to the Python
site-packages directory. To fix this, adding "liger_kernel.*" to the
include list will ensure that setuptools correctly includes all
subpackages within liger_kernel.

<!---
## Details
This is an optional section; is there anything specific that reviewers
should be aware of?
--->

## Testing Done
<!--- This is a required section; please describe how this change was
tested. --->

<!-- 
Replace BLANK with your device type. For example, A100-80G-PCIe

Complete the following tasks before sending your PR, and replace `[ ]`
with
`[x]` to indicate you have done them. 
-->

- Hardware Type: <BLANK>
- [ ] run `make test` to ensure correctness
- [ ] run `make checkstyle` to ensure code style
- [ ] run `make test-convergence` to ensure convergence

---------

Co-authored-by: Byron Hsu <[email protected]>
This commit is contained in:
Wizyoung
2024-09-07 16:56:04 -07:00
committed by GitHub
co-authored by Byron Hsu
parent 638b31057d
commit 18fd280b9a
+1 -1
View File
@@ -29,7 +29,7 @@ dev = [
[tool.setuptools.packages.find]
where = ["src"]
include = ["liger_kernel"]
include = ["liger_kernel", "liger_kernel.*"]
[tool.pytest.ini_options]
pythonpath = [