@SharmilaGoedhart reports an issue when installing. This is exactly the same as the current breakage in Crystalball installation due to upstream regressions in setuptools.
bhugo@bhugo-X550LA ~/Documents/workspace [10:18:42]
(venvshadems) > $ pip install -e ./shadems
Obtaining file:///home/bhugo/Documents/workspace/shadems
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
running egg_info
creating /tmp/pip-pip-egg-info-efk_zil_/shadems.egg-info
writing /tmp/pip-pip-egg-info-efk_zil_/shadems.egg-info/PKG-INFO
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/bhugo/Documents/workspace/shadems/setup.py", line 23, in <module>
setup(name = PACKAGE_NAME,
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
self.run_command(cmd)
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 301, in run
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 675, in write_pkg_info
metadata.write_pkg_info(cmd.egg_info)
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 1141, in write_pkg_info
self.write_pkg_file(pkg_info)
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/dist.py", line 197, in write_pkg_file
write_field('License', rfc822_escape(license))
File "/home/bhugo/Documents/workspace/venvshadems/lib/python3.8/site-packages/setuptools/_distutils/util.py", line 517, in rfc822_escape
lines = header.split('\n')
AttributeError: 'list' object has no attribute 'split'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
@SharmilaGoedhart reports an issue when installing. This is exactly the same as the current breakage in Crystalball installation due to upstream regressions in setuptools.
I believe the problem stems from here: https://github.com/ratt-ru/shadeMS/blob/master/setup.py#L34 This can no longer be a list object.
Downgrading to
setuptools==56.0.0
prior to installation should resolve the issue