Skip to content

Commit 9cb9224

Browse files
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

File tree

‎MANIFEST.in‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include requirements.txt

0 commit comments

Comments
 (0)