Score:0

Python snap package: setup.py -> install_requires vs snap package yaml file -> pacakges

ke flag

Following this tutorial on how to make a snap package out of python code, it says one must have a setup.py. setup.py has a install_requires field which list all the package it requires.

Now the snap package yaml file asks for the exact same information under the packages attribute, even though it specifies it requires the setup.py file.

This does not seem very DRY, which makes me think there is something wrong in my understanding.

Say I write some code and it requires numpy. Would numpy be listed in setup.py -> install_requires and snap package yaml file -> packages field?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.