Skip to content

How to determine required dependencies for new packages, and why and pyodide build needs metadata files for existing packages? #4632

Answered by ryanking13
bitsondatadev asked this question in Q&A
Discussion options

You must be logged in to vote

Something else I've noticed, I don't see many other packages installing this many libraries so I assume I'm inherently not understanding which dependencies need to be listed here, and which don't. Could somebody guide me on how to know which dependencies are required and which ones aren't?

There are multiple ways to check the dependencies for each package.

  • pip download <package>: this command will download all dependencies of the package recursively so you can check which packages are dependencies of the package.
  • check the METADATA file inside the wheel file of the package. Each wheel file has a file named METADATA in it, and it lists the dependencies of the package. For instance, pyic…

Replies: 5 comments 4 replies

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ryanking13
Comment options

@bitsondatadev
Comment options

Comment options

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

Answer selected by bitsondatadev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants