From 29bdb0cf3581af446c605bd9043349eb0c4eb184 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 15 Aug 2018 12:27:15 -0500 Subject: [PATCH] Include LICENSE, etc differently to not end up installed in /usr/local --- MANIFEST.in | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index b7f84d55..4e02e3f8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,3 @@ include DESCRIPTION.rst +include README.md +include LICENSE diff --git a/setup.py b/setup.py index d36e6439..b52521b8 100644 --- a/setup.py +++ b/setup.py @@ -104,7 +104,7 @@ setup( # need to place data files outside of your packages. See: # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa # In this case, 'data_file' will be installed into '/my_data' - data_files=[('', ['LICENSE','README.md','DESCRIPTION.rst'])], + # data_files=[('my_data', ['data/data_file'])], # To provide executable scripts, use entry points in preference to the # "scripts" keyword. Entry points provide cross-platform support and allow