Skip to content

Commit 27747de

Browse files
committed
Start building Wheels alongside sdist #221
Pulled in remaining relevant changes from PR#221
1 parent f6af12a commit 27747de

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ Ready to publish a new version to PyPi? Here's how the workflow to follow.
119119
(pyLDAvis) $ tox
120120

121121
-- TestPyPi
122-
(pyLDAvis) $ python setup.py sdist
122+
(pyLDAvis) $ python setup.py sdist bdist_wheel
123123
(pyLDAvis) $ twine check dist/*
124124
(pyLDAvis) $ twine upload --repository testpypi dist/*
125125

126126
-- Publish
127127
(pyLDAvis) $ twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
128-
(pyLDAvis) $ rm dist/*.tar.gz
128+
(pyLDAvis) $ rm dist/*
129129

130130
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/) ::
131131

setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
author='Ben Mabey',
2525
author_email='[email protected]',
2626
url='https://github.com/bmabey/pyLDAvis',
27-
download_url = 'https://github.com/bmabey/pyLDAvis/tarball/3.4.0',
27+
download_url='https://github.com/bmabey/pyLDAvis/tarball/3.4.0',
2828
packages=['pyLDAvis'],
2929
package_dir={'pyLDAvis': 'pyLDAvis'},
3030
tests_require=['pytest'],
31+
python_requires=">=3.8",
3132
include_package_data=True,
3233
install_requires=requirements,
3334
license='BSD-3-Clause',
@@ -42,5 +43,7 @@
4243
'Programming Language :: Python :: 3',
4344
'Programming Language :: Python :: 3.8',
4445
'Programming Language :: Python :: 3.9',
46+
'Programming Language :: Python :: 3.10',
47+
'Programming Language :: Python :: 3.11',
4548
]
4649
)

0 commit comments

Comments
 (0)