Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the purpose of the setup.py file?
Think about what information a package needs for installation.
Name one required file in addition to setup.py.
Consider what files help provide context or guidelines for usage.
What does the setup.py file mainly contain?
Think about the role of configuration files.
True or False: The README.md file is required for a package to be built.
How essential are documentation files compared to code files?
Create a setup.py script for a hypothetical package named 'data-analyzer' that requires 'pandas' and 'numpy'. Include all necessary metadata and the instructions to build it.
Think about what fields are conventionally included in a setup script.
Discuss how you would test a package build locally before uploading it. What steps would you take?
Consider the importance of verifying functionality in a controlled environment before sharing.
5 more questions in this section. Enroll free to practise them all.
Enroll free