How do I make setup.py
include a file that isn’t part of the code? (Specifically, it’s a license file, but it could be any other thing.)
I want to be able to control the location of the file. In the original source folder, the file is in the root of the package. (i.e. on the same level as the topmost __init__.py
.) I want it to stay exactly there when the package is installed, regardless of operating system. How do I do that?