Update setup.py for pip install per u/sethfischer

from a PR on mainline
This commit is contained in:
jdegenstein
2022-10-20 22:00:48 -05:00
committed by GitHub
parent 02453f7823
commit 39bb40289f

View File

@@ -16,12 +16,22 @@ def get_version(rel_path):
else: else:
raise RuntimeError("Unable to find version string.") raise RuntimeError("Unable to find version string.")
setup(name='CQ-editor', setup(
version=get_version('cq_editor/_version.py'), name="CQ-editor",
packages=find_packages(), version=get_version("cq_editor/_version.py"),
entry_points={ packages=find_packages(),
'gui_scripts': [ entry_points={
'cq-editor = cq_editor.__main__:main', "gui_scripts": [
'CQ-editor = cq_editor.__main__:main' "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",
],
)