Skip to content

Commit

Permalink
Merge pull request autokey#795 from Elliria/update-python-version
Browse files Browse the repository at this point in the history
Update Python version
  • Loading branch information
josephj11 authored Mar 3, 2023
2 parents 98a6f64 + b7e2f5a commit d6312dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
else:
import setuptools.command.build_py

if sys.version_info < (3, 5, 0):
print("Autokey requires Python 3.5 or later. You are using " + ".".join(map(str, sys.version_info[:3])))
if sys.version_info < (3, 7, 0):
print("Autokey requires Python 3.7 or later. You are using " + ".".join(map(str, sys.version_info[:3])))
sys.exit(1)


Expand Down Expand Up @@ -129,7 +129,7 @@ def _copy_icon_files_into_qt_resources_directory(self, resource_dir: Path):
url='https://github.com/autokey/autokey',
cmdclass={'build_py': BuildWithQtResources},
license='GPLv3',
python_requires=">=3.5",
python_requires=">=3.7",
# This requires autokey submodules (subdirectories) to contain their own `__init__.py` file (i.e.
# they advertise themselves as modules).
# find_namespace_packages might be a better alternative that doesn't
Expand Down Expand Up @@ -188,7 +188,7 @@ def _copy_icon_files_into_qt_resources_directory(self, resource_dir: Path):
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.7',
],
keywords='automation hotkey expansion expander phrase',
)

0 comments on commit d6312dd

Please sign in to comment.