From 5d9a6be2718c3b7184f897532cb664a388ce5ff9 Mon Sep 17 00:00:00 2001 From: cvzi Date: Sat, 31 Dec 2022 13:10:46 +0100 Subject: [PATCH] Config for one python wheel for Python 2 and 3 --- setup.cfg | 5 +++++ setup.py | 15 ++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..665de89b --- /dev/null +++ b/setup.cfg @@ -0,0 +1,5 @@ +[bdist_wheel] +universal = 1 + +[metadata] +license_files = LICENSE.txt diff --git a/setup.py b/setup.py index 2aa7105d..27b9f792 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ 'Topic :: Software Development :: Libraries :: Python Modules', 'Typing :: Typed' ], - description="Emoji for Python", + description='Emoji for Python', keywords=['emoji'], extras_require={ 'dev': [ @@ -68,10 +68,19 @@ ], }, include_package_data=True, - license="New BSD", + license='New BSD', long_description=readme_content, packages=['emoji', 'emoji.unicode_codes'], - package_data={"emoji": ["py.typed"]}, + package_data={ + 'emoji': [ + 'py.typed', + '*.pyi', + ], + 'emoji.unicode_codes': [ + 'py.typed', + '*.pyi', + ], + }, url=source, version=version, zip_safe=True,