Repository navigation
Commit 9cb9224
committed
Ship requirements.txt in the sdist
setup.py reads requirements.txt to build install_requires, but setuptools does
not put it in the source distribution, so installing centml from the tarball has
always died on FileNotFoundError. Wheels carry the dependency list in their own
metadata and so were never affected, and pip prefers them — the failure only
shows up when a source build is forced.
Verified by building both distributions from this branch and installing the
sdist into a clean virtualenv: the package imports, the console script runs, and
all ten requirements resolve.
Signed-off-by: Honglin Cao <hocao@nvidia.com>1 parent 5b53eb3 commit 9cb9224
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments