From 27747de4725d37a1907f67edef556d16b929b53e Mon Sep 17 00:00:00 2001 From: Mark Susol Date: Wed, 15 Feb 2023 10:16:28 -0700 Subject: [PATCH] Start building Wheels alongside sdist #221 Pulled in remaining relevant changes from PR#221 --- CONTRIBUTING.rst | 4 ++-- setup.cfg | 2 -- setup.py | 5 ++++- 3 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 setup.cfg diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 0f5a665a..791990d8 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -119,13 +119,13 @@ Ready to publish a new version to PyPi? Here's how the workflow to follow. (pyLDAvis) $ tox -- TestPyPi - (pyLDAvis) $ python setup.py sdist + (pyLDAvis) $ python setup.py sdist bdist_wheel (pyLDAvis) $ twine check dist/* (pyLDAvis) $ twine upload --repository testpypi dist/* -- Publish (pyLDAvis) $ twine upload --repository-url https://upload.pypi.org/legacy/ dist/* - (pyLDAvis) $ rm dist/*.tar.gz + (pyLDAvis) $ rm dist/* Note: MacOS Big Sur is both 10.16 and 11.0 – it’s official (https://eclecticlight.co/2020/07/21/big-sur-is-both-10-16-and-11-0-its-official/) :: diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 2a9acf13..00000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal = 1 diff --git a/setup.py b/setup.py index 6142ceff..f1492282 100755 --- a/setup.py +++ b/setup.py @@ -24,10 +24,11 @@ author='Ben Mabey', author_email='ben@benmabey.com', url='https://github.com/bmabey/pyLDAvis', - download_url = 'https://github.com/bmabey/pyLDAvis/tarball/3.4.0', + download_url='https://github.com/bmabey/pyLDAvis/tarball/3.4.0', packages=['pyLDAvis'], package_dir={'pyLDAvis': 'pyLDAvis'}, tests_require=['pytest'], + python_requires=">=3.8", include_package_data=True, install_requires=requirements, license='BSD-3-Clause', @@ -42,5 +43,7 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ] ) \ No newline at end of file