christoph2 / asamint

Integration package for various ASAM related open source projects
GNU General Public License v2.0
10 stars 5 forks source link

setup doesnt actually install the package #2

Open SpieringsAE opened 2 years ago

SpieringsAE commented 2 years ago

root@GOcontroll:/etc/asamint-master# python3 setup.py develop /usr/local/lib/python3.7/dist-packages/setuptools/config/pyprojecttoml.py:102: _ExperimentalProjectMetadata: Support for project metadata inpyproject.toml` is still experimental and may be removed (or change) in future releases. warnings.warn(msg, _ExperimentalProjectMetadata) /usr/local/lib/python3.7/dist-packages/setuptools/config/_apply_pyprojecttoml.py:93: _WouldIgnoreField: !!

##########################################################################
# configuration would be ignored/result in error due to `pyproject.toml` #
##########################################################################

The following seems to be defined outside of `pyproject.toml`:

`readme = "========================\nASAM Integration Package\n========================\n\n.. image:: http://img.shields.io/badge/license-GPL-blue.svg\n   :target: http://opensource.org/licenses/GPL-2.0\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n\n\n**asamint** (ASAM integration package) integrates several automotive related opensource projects.\n\nThe projects in question projects are mainly following an mechanism-not-policy approach, but **asamint** aims to\nadd higher level APIs, that could be used to implement common measurement and calibration tasks.\n\nTo put it into another words, **asamint** will be a command-line MCS (measurement and calibration system).\n\nThe aggregated Python projects in alphabetical order:\n\n======================================================   =============\nProject / repository                                     pip/PyPI name\n======================================================   =============\n`asammdf <https://github.com/danielhrisca/asammdf>`_     asammdf\n`objutils <https://github.com/christoph2/objutils>`_     objutils\n`pya2ldb <https://github.com/christoph2/pya2l>`_         pya2ldb\n`pyxcp <https://github.com/christoph2/pyxcp>`_           pyxcp\n======================================================   =============\n\n\n\nAnd yes, all listed projects are `Raspberry PI <https://raspberrypi.org>`_ tested :smile:\n\nInstallation\n------------\n\nclone / fork / download from `here. <https://github.com/christoph2/asamint>`_\n\nThen run\n\n.. code-block:: python\n\n   python setup.py develop\n\nDependencies\n~~~~~~~~~~~~\n**asamint** currently doesn't specify dependencies on its own -- installing the above listed projects should be sufficient.\n\nLicense\n-------\n**asamint** is released under `GPLv2 license terms <../LICENSE>`_.\n\n\nFeatures\n--------\n\n Note: At this stage, the project is highly experimental and hacky, so don't expect stable APIs and tons of features!\n\nFunctions are basically orchestrated using ASAM MCD-2MC (A2L) files.\n\nSome examples include (not necessarily in a working condition yet):\n\n* Create calibration data files (ASAM CDF) from XCP slaves or HEX files.\n\n* Setup dynamic DAQs.\n\n* High-level API to create MDF files.\n\n\nPlease refer to `examples <../asamint/examples>`_ directory.\n\n\nFurther Readings\n----------------\n\n`Here's <further_readings.rst>`_ a collection of some public accessible documents, if you want to dig deeper into the wonderworld of automotive measurement and calibration.\n\n\nMiscellaneous\n-------------\n\n**asamint** includes some more or less useful `tools <../tools/README.rst>`_.\n\n\n\n=======\nHistory\n=======\n\n0.1.0 (2020-06-25)\n------------------\n\n* First release on PyPI.\n"`

According to the spec (see the link bellow), however, setuptools CANNOT
consider this value unless 'readme' is listed as `dynamic`.

https://packaging.python.org/en/latest/specifications/declaring-project-metadata/

For the time being, `setuptools` will still consider the given value (as a
**transitional** measure), but please note that future releases of setuptools will
follow strictly the standard.

To prevent this warning, you can list 'readme' under `dynamic` or alternatively
remove the `[project]` table from your file and rely entirely on other means of
configuration.

!!

warnings.warn(msg, _WouldIgnoreField) /usr/local/lib/python3.7/dist-packages/setuptools/config/_apply_pyprojecttoml.py:93: _WouldIgnoreField: !!

##########################################################################
# configuration would be ignored/result in error due to `pyproject.toml` #
##########################################################################

The following seems to be defined outside of `pyproject.toml`:

`keywords = ['ASAM Autosar ECU Calibration Measurement']`

According to the spec (see the link bellow), however, setuptools CANNOT
consider this value unless 'keywords' is listed as `dynamic`.

https://packaging.python.org/en/latest/specifications/declaring-project-metadata/

For the time being, `setuptools` will still consider the given value (as a
**transitional** measure), but please note that future releases of setuptools will
follow strictly the standard.

To prevent this warning, you can list 'keywords' under `dynamic` or alternatively
remove the `[project]` table from your file and rely entirely on other means of
configuration.

!!

warnings.warn(msg, _WouldIgnoreField) /usr/local/lib/python3.7/dist-packages/setuptools/config/_apply_pyprojecttoml.py:93: _WouldIgnoreField: !!

##########################################################################
# configuration would be ignored/result in error due to `pyproject.toml` #
##########################################################################

The following seems to be defined outside of `pyproject.toml`:

`entry-points = {'console_scripts': ['xcp-log = asamint.scripts.xcp_log:main']}`

According to the spec (see the link bellow), however, setuptools CANNOT
consider this value unless 'entry-points' is listed as `dynamic`.

https://packaging.python.org/en/latest/specifications/declaring-project-metadata/

For the time being, `setuptools` will still consider the given value (as a
**transitional** measure), but please note that future releases of setuptools will
follow strictly the standard.

To prevent this warning, you can list 'entry-points' under `dynamic` or alternatively
remove the `[project]` table from your file and rely entirely on other means of
configuration.

!!

warnings.warn(msg, _WouldIgnoreField) running develop /usr/local/lib/python3.7/dist-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. EasyInstallDeprecationWarning, /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running egg_info writing pya2ldb.egg-info/PKG-INFO writing dependency_links to pya2ldb.egg-info/dependency_links.txt writing entry points to pya2ldb.egg-info/entry_points.txt writing requirements to pya2ldb.egg-info/requires.txt writing top-level names to pya2ldb.egg-info/top_level.txt reading manifest file 'pya2ldb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' warning: no files found matching '*.md' warning: manifest_maker: MANIFEST.in, line 13: 'recursive-include' expects

...

warning: no previously-included files matching 'pycache' found under directory '' warning: no previously-included files matching '.py[co]' found under directory '' warning: no files found matching '.jpg' under directory 'docs' warning: no files found matching '.png' under directory 'docs' warning: no files found matching '.gif' under directory 'docs' adding license file 'LICENSE' adding license file 'AUTHORS.rst' writing manifest file 'pya2ldb.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python3.7/site-packages/pya2ldb.egg-link (link to .) Removing pya2ldb 0.1.1 from easy-install.pth file Adding pya2ldb 0.1.1 to easy-install.pth file Installing xcp-log script to /usr/bin

Installed /etc/asamint-master Processing dependencies for pya2ldb==0.1.1 Searching for sortedcontainers==2.4.0 Best match: sortedcontainers 2.4.0 Adding sortedcontainers 2.4.0 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for lz4==4.0.0 Best match: lz4 4.0.0 Adding lz4 4.0.0 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for Babel==2.9.1 Best match: Babel 2.9.1 Adding Babel 2.9.1 to easy-install.pth file Installing pybabel script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for pyxcp==0.18.48 Best match: pyxcp 0.18.48 Processing pyxcp-0.18.48-py3.7-linux-aarch64.egg pyxcp 0.18.48 is already the active version in easy-install.pth Installing pyxcp-probe-can-drivers script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages/pyxcp-0.18.48-py3.7-linux-aarch64.egg Searching for objutils==0.4.12 Best match: objutils 0.4.12 Adding objutils 0.4.12 to easy-install.pth file Installing oj-elf-arm-attrs script to /usr/bin Installing oj-elf-extract script to /usr/bin Installing oj-elf-info script to /usr/bin Installing oj-elf-syms script to /usr/bin Installing oj-hex-info script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for asammdf==7.0.7 Best match: asammdf 7.0.7 Adding asammdf 7.0.7 to easy-install.pth file Installing asammdf script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for pytz==2022.1 Best match: pytz 2022.1 Adding pytz 2022.1 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for uptime==3.0.1 Best match: uptime 3.0.1 Processing uptime-3.0.1-py3.7-linux-aarch64.egg uptime 3.0.1 is already the active version in easy-install.pth

Using /usr/local/lib/python3.7/dist-packages/uptime-3.0.1-py3.7-linux-aarch64.egg Searching for toml==0.10.2 Best match: toml 0.10.2 Adding toml 0.10.2 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for pyusb==1.2.1 Best match: pyusb 1.2.1 Adding pyusb 1.2.1 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for python-can==4.0.0 Best match: python-can 4.0.0 Processing python_can-4.0.0-py3.7.egg python-can 4.0.0 is already the active version in easy-install.pth Installing can_logconvert.py script to /usr/bin Installing can_viewer.py script to /usr/bin Installing can_player.py script to /usr/bin Installing can_logger.py script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages/python_can-4.0.0-py3.7.egg Searching for pyserial==3.5 Best match: pyserial 3.5 Adding pyserial 3.5 to easy-install.pth file Installing pyserial-miniterm script to /usr/bin Installing pyserial-ports script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for pybind11==2.9.2 Best match: pybind11 2.9.2 Adding pybind11 2.9.2 to easy-install.pth file Installing pybind11-config script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for Mako==1.2.0 Best match: Mako 1.2.0 Adding Mako 1.2.0 to easy-install.pth file Installing mako-render script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for construct==2.10.68 Best match: construct 2.10.68 Adding construct 2.10.68 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for SQLAlchemy==1.4.35 Best match: SQLAlchemy 1.4.35 Adding SQLAlchemy 1.4.35 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for attrs==21.4.0 Best match: attrs 21.4.0 Adding attrs 21.4.0 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for six==1.12.0 Best match: six 1.12.0 Adding six 1.12.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages Searching for future==0.18.2 Best match: future 0.18.2 Adding future 0.18.2 to easy-install.pth file Installing futurize script to /usr/bin Installing pasteurize script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for typing-extensions==4.1.1 Best match: typing-extensions 4.1.1 Adding typing-extensions 4.1.1 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for pandas==1.3.5 Best match: pandas 1.3.5 Adding pandas 1.3.5 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for numpy==1.21.6 Best match: numpy 1.21.6 Adding numpy 1.21.6 to easy-install.pth file Installing f2py script to /usr/bin Installing f2py3 script to /usr/bin Installing f2py3.7 script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for numexpr==2.8.1 Best match: numexpr 2.8.1 Adding numexpr 2.8.1 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for canmatrix==0.9.5 Best match: canmatrix 0.9.5 Adding canmatrix 0.9.5 to easy-install.pth file Installing cancompare script to /usr/bin Installing canconvert script to /usr/bin

Using /usr/local/lib/python3.7/dist-packages Searching for wrapt==1.14.0 Best match: wrapt 1.14.0 Adding wrapt 1.14.0 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for setuptools==62.1.0 Best match: setuptools 62.1.0 Adding setuptools 62.1.0 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for packaging==21.3 Best match: packaging 21.3 Adding packaging 21.3 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for msgpack==1.0.3 Best match: msgpack 1.0.3 Processing msgpack-1.0.3-py3.7-linux-aarch64.egg msgpack 1.0.3 is already the active version in easy-install.pth

Using /usr/local/lib/python3.7/dist-packages/msgpack-1.0.3-py3.7-linux-aarch64.egg Searching for importlib-metadata==4.11.3 Best match: importlib-metadata 4.11.3 Adding importlib-metadata 4.11.3 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for MarkupSafe==2.1.1 Best match: MarkupSafe 2.1.1 Adding MarkupSafe 2.1.1 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for greenlet==1.1.2 Best match: greenlet 1.1.2 Adding greenlet 1.1.2 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for python-dateutil==2.8.2 Best match: python-dateutil 2.8.2 Adding python-dateutil 2.8.2 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for lxml==4.8.0 Best match: lxml 4.8.0 Adding lxml 4.8.0 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for click==8.1.2 Best match: click 8.1.2 Adding click 8.1.2 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for pyparsing==3.0.7 Best match: pyparsing 3.0.7 Adding pyparsing 3.0.7 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Searching for zipp==3.7.0 Best match: zipp 3.7.0 Adding zipp 3.7.0 to easy-install.pth file

Using /usr/local/lib/python3.7/dist-packages Finished processing dependencies for pya2ldb==0.1.1 `

this is the log of the setup process. I can't find anything myselft so my last hope is asking you

christoph2 commented 2 years ago

OK, there were some copy-and-paste issues in the setup/build related files (fixed now).

Are you using the latest setuptools version? (run pip install -U setuptools).

The related Github workflow runs successfully.