biolab / biolab/orange3-example-addon

Installation does not work with python 3.11.1

Open
#16 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
60
Forks
48
PR merge metrics
No merged PRs in 30d

Description

I cloned the project and tried to install it with

`pip install .`

```
Building wheels for collected packages: Orange3-Example-Add-on
Building wheel for Orange3-Example-Add-on (setup.py) ... done
WARNING: Legacy build of wheel for 'Orange3-Example-Add-on' created no files.
Command arguments: 'C:\python_env\App\WinPython\python-3.11.1.amd64\python.exe' -u -c '
exec(compile('"'"''"'"''"'"'
# This is -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize

try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'C:\\python_env\\workspace\\orange3-addon\\setup.py'"'"',), "", "exec"))' bdist_wheel -d 'C:\Users\eis\AppData\Local\Temp\PyChar
mPortableTemp\pip-wheel-lnv961se'
Command output: [use --verbose to show]
Running setup.py clean for Orange3-Example-Add-on
Failed to build Orange3-Example-Add-on
ERROR: Could not build wheels for Orange3-Example-Add-on, which is required to install pyproject.toml-based projects
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.