From: Sergey Matveev Date: Thu, 17 Aug 2017 20:28:29 +0000 (+0300) Subject: Install supplementary files as simple data, instead of package X-Git-Tag: 3.15~51 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;ds=sidebyside;h=695c396878c00952e45b11958ffd27928f1b8cfa;p=pygost.git Install supplementary files as simple data, instead of package --- diff --git a/setup.py b/setup.py index a28d3c2..b9e28c6 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( author_email="stargrave@stargrave.org", url="http://pygost.cypherpunks.ru/", license="GPLv3+", - classifiers=[ + classifiers=( "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", @@ -19,12 +19,12 @@ setup( "Programming Language :: Python :: 3", "Topic :: Security :: Cryptography", "Topic :: Software Development :: Libraries :: Python Modules", - ], - packages=["pygost", "supplementary"], - package_dir={"supplementary": "."}, + ), package_data={ "pygost": ["stubs/**/*.pyi"], - "supplementary": [ + }, + data_files=( + ('', ( "AUTHORS", "COPYING", "INSTALL", @@ -33,6 +33,6 @@ setup( "README", "THANKS", "VERSION", - ], - }, + )), + ), )