Skip to content

Commit

Permalink
Use entry_points to install signalflow CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Feb 18, 2024
1 parent 295b865 commit b4a195e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
File renamed without changes.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def build_extension(self, ext):
signalflow_packages = [
'signalflow-stubs',
'signalflow_midi',
'signalflow_cli',
'signalflow_examples',
'signalflow_visualisation',
'signalflow_analysis',
Expand Down Expand Up @@ -96,5 +97,9 @@ def build_extension(self, ext):
"signalflow-stubs": ["*.pyi"],
"signalflow": signalflow_package_data
},
scripts=['source/bin/signalflow']
entry_points = {
'console_scripts': [
'signalflow_test = signalflow_cli:main',
],
}
)

0 comments on commit b4a195e

Please sign in to comment.