Skip to content

Commit

Permalink
Properly install scripts
Browse files Browse the repository at this point in the history
Scripts need to be part of the package to be executable from a binary
installation.

Fixes #568
  • Loading branch information
rdoursenaud committed Dec 14, 2023
1 parent da1c838 commit 39c8f0b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ recursive-include extras *.py
recursive-include extras *.rst
recursive-include LICENSES *.txt
recursive-include mido *.py
recursive-include scripts *.py
recursive-include tests *.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,18 @@ ports-all = [
]

[project.scripts]
mido-play = "scripts.mido_play:main"
mido-ports = "scripts.mido_ports:main"
mido-serve = "scripts.mido_serve:main"
mido-connect = "scripts.mido_connect:main"
mido-play = "mido.scripts.mido_play:main"
mido-ports = "mido.scripts.mido_ports:main"
mido-serve = "mido.scripts.mido_serve:main"
mido-connect = "mido.scripts.mido_connect:main"

[tool.setuptools]
packages = [
"mido",
"mido.backends",
"mido.messages",
"mido.midifiles",
"mido.scripts",
]
include-package-data = true

Expand Down

0 comments on commit 39c8f0b

Please sign in to comment.