@chrisburr : thanks for the hint, I just tried adding following pyproject.toml:

[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

but I'm getting following error on pip install:

Building wheels for collected packages: xrootd
  Building wheel for xrootd (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpex2e8sfb
       cwd: /tmp/pip-req-build-8t0nnog9
  Complete output (22 lines):
  running bdist_wheel
  Traceback (most recent call last):
    File "/tmp/pip-build-env-aw7t30tw/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 105, in _file_with_extension
      file, = matching
  ValueError: not enough values to unpack (expected 1, got 0)
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
      main()
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-aw7t30tw/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 222, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-aw7t30tw/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 210, in _build_with_temp_dir
      tmp_dist_dir, result_extension)
    File "/tmp/pip-build-env-aw7t30tw/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 108, in _file_with_extension
      'No distribution was found. Ensure that `setup.py` '
  ValueError: No distribution was found. Ensure that `setup.py` is not empty and that it calls `setup()`.
  ----------------------------------------
  ERROR: Failed building wheel for xrootd
Failed to build xrootd
ERROR: Could not build wheels for xrootd which use PEP 517 and cannot be installed directly

any idea what is amiss?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1401#issuecomment-937903815", "url": "https://github.com/xrootd/xrootd/issues/1401#issuecomment-937903815", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1