requirements.txt cannot be found #3658
Answered
by
abravalheri
isFakeAccount
asked this question in
Q&A
-
When using /tmp/build-env-nuzfyi6h/lib/python3.10/site-packages/setuptools/config/expand.py:144: UserWarning: File '/tmp/build-via-sdist-4zcnbxq8/PSNAWP-1.1.0/requirements.txt' cannot be found
warnings.warn(f"File {path!r} cannot be found")
/tmp/build-env-nuzfyi6h/lib/python3.10/site-packages/setuptools/config/expand.py:144: UserWarning: File '/tmp/build-via-sdist-4zcnbxq8/PSNAWP-1.1.0/requirements_dev.txt' cannot be found
warnings.warn(f"File {path!r} cannot be found")
* Installing packages in isolated environment... (setuptools, wheel)
* Building wheel...
/tmp/build-env-nuzfyi6h/lib/python3.10/site-packages/setuptools/config/expand.py:144: UserWarning: File '/tmp/build-via-sdist-4zcnbxq8/PSNAWP-1.1.0/requirements.txt' cannot be found
warnings.warn(f"File {path!r} cannot be found")
/tmp/build-env-nuzfyi6h/lib/python3.10/site-packages/setuptools/config/expand.py:144: UserWarning: File '/tmp/build-via-sdist-4zcnbxq8/PSNAWP-1.1.0/requirements_dev.txt' cannot be found
warnings.warn(f"File {path!r} cannot be found") What should I do to fix these warnings? Is it a bug? I am using this command to build python -m build |
Beta Was this translation helpful? Give feedback.
Answered by
abravalheri
Nov 2, 2022
Replies: 1 comment
-
I think that you need to guarantee the Please have a look on https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
isFakeAccount
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think that you need to guarantee the
.txt
files are bundled in thesdist
.You can use
MANIFEST.in
to ensure that or something likesetuptools-scm
.Please have a look on https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html.