From 39bb40289f17a154bc6677402ca84aec3ceab731 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Thu, 20 Oct 2022 22:00:48 -0500 Subject: [PATCH] Update setup.py for pip install per u/sethfischer from a PR on mainline --- setup.py | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index 8943e67..39c5830 100644 --- a/setup.py +++ b/setup.py @@ -16,12 +16,22 @@ def get_version(rel_path): else: raise RuntimeError("Unable to find version string.") -setup(name='CQ-editor', - version=get_version('cq_editor/_version.py'), - packages=find_packages(), - entry_points={ - 'gui_scripts': [ - 'cq-editor = cq_editor.__main__:main', - 'CQ-editor = cq_editor.__main__:main' - ]} - ) +setup( + name="CQ-editor", + version=get_version("cq_editor/_version.py"), + packages=find_packages(), + entry_points={ + "gui_scripts": [ + "cq-editor = cq_editor.__main__:main", + "CQ-editor = cq_editor.__main__:main", + ] + }, + python_requires=">=3.8,<3.11", + install_requires=[ + "logbook>=1", + "path>=16", + "PyQt5>=5", + "requests>=2,<3", + "spyder>=5,<6", + ], +)