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.)
How do I make setup.py include a file that isn’t part of the code?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://docs.python.org/distutils/setupscript.html#installing-additional-files is all you should need.
Since you mentioned a license file, you can include additional meta-data (such as a license) this way.