From e0176b22c52bce25515c0aee3e0c7aae24c3f734 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Nov 19 2020 07:19:33 +0000 Subject: common: put LICENSE file into dist that goes to PyPI Fix #1568 I used the same `MANIFEST.in` file that we have for `copr-cli`, with some minor changes. --- diff --git a/common/MANIFEST.in b/common/MANIFEST.in new file mode 100644 index 0000000..0dfb5e8 --- /dev/null +++ b/common/MANIFEST.in @@ -0,0 +1,8 @@ +include LICENSE +include MANIFEST.in +include copr/README.rst +include python-copr-common.spec +include requirements.txt +include run_tests.sh +recursive-include docs/ *.rst *.py Makefile README* +recursive-include copr/test/ *.rst *.py *.json README* diff --git a/common/setup.py b/common/setup.py index 572fff2..2be22ec 100644 --- a/common/setup.py +++ b/common/setup.py @@ -27,6 +27,9 @@ setup( author_email=__author_email__, url=__url__, license='GPLv2+', + classifiers=[ + "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", + ], packages=['copr_common'], include_package_data=True, zip_safe=False