On 2024/06/16 12:40, Fabien ROMANO wrote: > make install works. > First time on the game, played some minutes, this game is really nice. > > What about those tools/.py files portcheck complain about ? > pkg_info -L wesnoth | grep '.py$' > /usr/local/share/wesnoth/data/tools/addon_manager/* > /usr/local/share/wesnoth/data/tools/expand-terrain-macros.py > /usr/local/share/wesnoth/data/tools/hexometer.py > /usr/local/share/wesnoth/data/tools/pywmlx/* > /usr/local/share/wesnoth/data/tools/terrain2wiki.py > /usr/local/share/wesnoth/data/tools/unit_tree/* > /usr/local/share/wesnoth/data/tools/wesnoth/* > > I have a diff to add lang/python (MODPY_COMPILEALL) if you want.
No pyc files for those please. They are scripts for running separately ("#!/usr/bin/env python3" lines and executable). pyc files are just used for files which are imported as Python modules (usually in a directory tree with __init__.py files). portcheck's checks are not particularly sophisticated.