Skip to content

Installation does not work with python 3.11.1 #16

Description

@stefaneidelloth

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 <pip-setuptools-caller> -- 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 = "<auto-generated setuptools caller>"
      setup_py_code = "from setuptools import setup; setup()"

  exec(compile(setup_py_code, filename, "exec"))
  '"'"''"'"''"'"' % ('"'"'C:\\python_env\\workspace\\orange3-addon\\setup.py'"'"',), "<pip-setuptools-caller>", "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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions