fix up requirements in setup.py and add non-pypi builds; version-->3.0.0 python 3 only
--- a/.github/workflows/buildwheels.yml Wed Sep 29 11:54:42 2021 +0100
+++ b/.github/workflows/buildwheels.yml Thu Sep 30 08:30:38 2021 +0100
@@ -50,6 +50,12 @@
# Used to host cibuildwheel
- uses: actions/setup-python@v2
+ - name: Set up QEMU
+ if: runner.os == 'Linux'
+ uses: docker/setup-qemu-action@v1
+ with:
+ platforms: all
+
- name: Install cibuildwheel
run: |
python -m pip install 'cibuildwheel==2.2.0a1'
@@ -58,7 +64,7 @@
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
- #CIBW_ARCHS_LINUX: auto aarch64 #seems to hang
+ CIBW_ARCHS_LINUX: auto aarch64 #needs quemu setup
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
- name: upload wheels
--- a/setup.py Wed Sep 29 11:54:42 2021 +0100
+++ b/setup.py Thu Sep 30 08:30:38 2021 +0100
@@ -94,6 +94,7 @@
license=license,
ext_modules = EXT_MODULES,
package_data = {'': ['pyRXP-license.txt']},
+ python_requires='>=3.6, <4',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
@@ -105,5 +106,11 @@
'Operating System :: Microsoft :: Windows',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: XML',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
]
)