Exclude package data

This commit is contained in:
Milan Nikolic 2024-10-19 09:55:56 +02:00
parent 2264a06ec2
commit e0e9a1967f
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
3 changed files with 2 additions and 4 deletions

View file

@ -59,12 +59,8 @@ To install just the Python dependencies:
Install
=======
First, run ``python setup.py build`` followed by ``python -m pip install .``
to install
.. code::
python setup.py build
python -m pip install . --user
.. note::

View file

@ -32,6 +32,7 @@ Changelog = "https://raw.githubusercontent.com/mupen64plus/mupen64plus-ui-python
[tool.setuptools]
script-files = ["bin/m64py"]
package-dir = {"" = "src"}
exclude-package-data = { "*" = ["*.jpg", "*.png", "*.svg", "*.ts"]}
[tool.setuptools.packages.find]
where = ["src"]

View file

@ -371,6 +371,7 @@ setuptools.setup(
url = "https://m64py.sourceforge.net",
package_dir = {"": "src"},
packages = setuptools.find_namespace_packages(where="src"),
exclude_package_data = {"*": ["*.jpg", "*.png", "*.svg", "*.ts"]},
scripts = ["bin/m64py"],
requires = ["PyQt6", "PySDL2"],
cmdclass = {