setup.py: Require Python>=3.6 and affine>=2.0

As older versions won't actually work

Resolves: #349

Thanks to https://github.com/gadgetmind for reporting!
This commit is contained in:
Florian Festi 2021-12-12 12:41:32 +01:00
parent b11f9b0f1a
commit a593e8e85b
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ setup(
author_email='florian@festi.info', author_email='florian@festi.info',
url='https://github.com/florianfesti/boxes', url='https://github.com/florianfesti/boxes',
packages=find_packages(), packages=find_packages(),
install_requires=['affine', 'markdown'], python_requires='>=3.6',
install_requires=['affine>=2.0', 'markdown'],
scripts=['scripts/boxes', 'scripts/boxesserver'], scripts=['scripts/boxes', 'scripts/boxesserver'],
cmdclass={ cmdclass={
'build_py': CustomBuildExtCommand, 'build_py': CustomBuildExtCommand,