Skip to content

What is the best practice regarding __pypackages__/.gitignore? #731

Answered by frostming
lazarillo asked this question in Q&A
Discussion options

You must be logged in to vote

PEP 582 says:

Projects that use a source management system can include a __pypackages__ directory (empty or with e.g. a file like .gitignore). After doing a fresh check out the source code, a tool like pip can be used to install the required dependencies directly into this directory.

It uses a can, so I suppose an empty __pypackages__ can help tools understand it is a PEP 582 style project if there are any. It is changed sometime later, so the README might need an update.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lazarillo
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