lunedì 18 agosto 2025 15:16, daniel antoine <[email protected]> ha scritto:

> 
> 
> Hi Dave
> 
> I try to compile python-efl with the last commit 701c912a7b but I
> ranil an error at [16/16] Cythonizing efl/utils/logger.pyx
> 
> I get
> 
> [16/16] Cythonizing efl/utils/logger.pyx
> warning: efl/utils/logger.pyx:1:0: Dotted filenames
> ('efl.utils.logger.pxd') are deprecated. Please use the normal Python
> package directory layout.
> warning: efl/utils/logger.pyx:18:0: Dotted filenames ('efl.eina.pxd')
> are deprecated. Please use the normal Python package directory layout.
> configuration error: `project.license` must be valid exactly by one
> definition (2 matches found):
> 
> - keys:
> 'file': {type: string}
> required: ['file']
> - keys:
> 'text': {type: string}
> required: ['text']
> 
> DESCRIPTION:
> `Project license <https://peps.python.org/pep-0621/#license>`_.
> 
> 
> GIVEN VALUE:
> "LGPL-3.0-only"
> 
> OFFENDING RULE: 'oneOf'
> 
> DEFINITION:
> {
> "oneOf": [
> {
> "properties": {
> "file": {
> "type": "string",
> "$$description": [
> "Relative path to the file (UTF-8) which
> contains the license for the",
> "project."
> ]
> }
> },
> "required": [
> "file"
> ]
> },
> {
> "properties": {
> "text": {
> "type": "string",
> "$$description": [
> "The license of the project whose meaning
> is that of the",
> "`License field from the core metadata", 
> "<https://packaging.python.org/specifications/core-metadata/#license>`_."
> 
> ]
> }
> },
> "required": [
> "text"
> ]
> }
> ]
> }
> Traceback (most recent call last):
> File "/tmp/work/src/python-efl-1.26.1/setup.py", line 437, in <module>
> 
> setup(
> File "/usr/lib/python3.12/site-packages/setuptools/init.py",
> line 117, in setup
> return distutils.core.setup(**attrs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py",
> line 157, in setup
> dist.parse_config_files()
> File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line
> 655, in parse_config_files
> pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
> File "/usr/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py",
> line 71, in apply_configuration
> config = read_configuration(filepath, True, ignore_option_errors, dist)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py",
> line 139, in read_configuration
> validate(subset, filepath)
> File "/usr/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py",
> line 60, in validate
> raise ValueError(f"{error}\n{summary}") from None
> ValueError: invalid pyproject.toml config: `project.license`.
> configuration error: `project.license` must be valid exactly by one
> definition (2 matches found):
> 
> - keys:
> 'file': {type: string}
> required: ['file']
> - keys:
> 'text': {type: string}
> required: ['text']
> 
> =======> ERROR: Building 'python-efl.sources1755228613any.cards.tar.xz' 
> failed.
> 
> 
> it refres to two licenses ?
> 
> The compile is ok with commit 5accd9350b

Hi, I'm working on the build system in these days.
How are you building? The goal is to use modern python packaging, so you should 
be able to build using:
python -m build
and then install the generated wheel using pip.

But I'm still working on this, will update all the docs asap.

> 
> Bets regards
> 
> Daniel


_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to