Skip to content

Commit e0e9a19

Browse files
committed
Exclude package data
1 parent 2264a06 commit e0e9a19

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

README.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,8 @@ To install just the Python dependencies:
5959
Install
6060
=======
6161

62-
First, run ``python setup.py build`` followed by ``python -m pip install .``
63-
to install
64-
6562
.. code::
6663
67-
python setup.py build
6864
python -m pip install . --user
6965
7066
.. note::

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Changelog = "https://raw.githubusercontent.com/mupen64plus/mupen64plus-ui-python
3232
[tool.setuptools]
3333
script-files = ["bin/m64py"]
3434
package-dir = {"" = "src"}
35+
exclude-package-data = { "*" = ["*.jpg", "*.png", "*.svg", "*.ts"]}
3536

3637
[tool.setuptools.packages.find]
3738
where = ["src"]

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ class BuildCustom(build):
371371
url = "https://m64py.sourceforge.net",
372372
package_dir = {"": "src"},
373373
packages = setuptools.find_namespace_packages(where="src"),
374+
exclude_package_data = {"*": ["*.jpg", "*.png", "*.svg", "*.ts"]},
374375
scripts = ["bin/m64py"],
375376
requires = ["PyQt6", "PySDL2"],
376377
cmdclass = {

0 commit comments

Comments
 (0)