Skip to content

Action fails when setuptools.setup values are parsed from text file #86

Answered by webknjaz
mspronesti asked this question in Q&A
Discussion options

You must be logged in to vote

Our action does not attempt to build your project, it only uploaded the dists that you've pre-built before running it. So your question is rather out of the scope of what this project is meant to solve.

But let me give you some pointers:

  1. You invoke pypa/build which is a PEP 517 compliant build front-end.
  2. build reads pyproject.toml's [build-system] and based on it knows the build dependencies and the build back-end with a fallback to setuptools.
  3. setuptools is what actually builds your project (it evaluates setup.py if it's present).
  4. So the code in setup.py is what fails. In particular, you attempt opening a file that doesn't exist in that location.
    1. Note that when you use setuptools, it's…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mspronesti
Comment options

Answer selected by webknjaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
invalid This doesn't seem right question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #85 on January 03, 2022 11:52.