cp210x-program icon indicating copy to clipboard operation
cp210x-program copied to clipboard

setup fails with many errors - please help

Open radiomatz opened this issue 5 months ago • 0 comments

matz@lenovo:~/src/cp210x-program$ python setup.py No name configuration, performing automatic discovery Traceback (most recent call last): File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/expand.py", line 70, in getattr return next( StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/expand.py", line 184, in read_attr return getattr(StaticModule(module_name, spec), attr_name) File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/expand.py", line 76, in getattr raise AttributeError(f"{self.name} has no attribute {attr}") from e AttributeError: cp210x has no attribute version

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/matz/src/cp210x-program/setup.py", line 5, in setup( File "/home/matz/.local/lib/python3.10/site-packages/setuptools/init.py", line 117, in setup return distutils.core.setup(**attrs) File "/home/matz/.local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 157, in setup dist.parse_config_files() File "/home/matz/.local/lib/python3.10/site-packages/setuptools/dist.py", line 644, in parse_config_files setupcfg.parse_configuration( File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 188, in parse_configuration meta.parse() File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 501, in parse section_parser_method(section_options) File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 476, in parse_section self[name] = value File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 294, in setitem parsed = self.parsers.get(option_name, lambda x: x)(value) File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 593, in _parse_version return expand.version(self._parse_attr(value, self.package_dir, self.root_dir)) File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 418, in _parse_attr return expand.read_attr(attr_desc, package_dir, root_dir) File "/home/matz/.local/lib/python3.10/site-packages/setuptools/config/expand.py", line 188, in read_attr return getattr(module, attr_name) AttributeError: module 'cp210x' has no attribute 'version'

radiomatz avatar Aug 22 '25 10:08 radiomatz