Including non-Python files with setup.py

How do I make it setup.py

include a file that is not part of the code? (Specifically, this is a license file, but it could be any other thing.)

+2


source to share


1 answer


http://docs.python.org/distutils/setupscript.html#installing-additional-files is all you need.



Since you mentioned the license file, you can include additional metadata (like the license) this way .

+4


source







All Articles