Skip to content

Commit

Permalink
Move the entry_points definitions into setup.py (#2314)
Browse files Browse the repository at this point in the history
  • Loading branch information
matrss authored Apr 10, 2024
1 parent a4d8f6d commit 1c507c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
7 changes: 0 additions & 7 deletions localbuild/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ build:
skip: true # [py<38]
number: 1000
script: "{{ PYTHON }} -m pip install . --no-deps -vv" # [not win]
entry_points:
- msui = mslib.msui.msui:main
- mss = mslib.msui.mss:main
- mswms = mslib.mswms.mswms:main
- mswms_demodata = mslib.mswms.demodata:main
- mscolab = mslib.mscolab.mscolab:main
- mssautoplot = mslib.utils.mssautoplot:main

requirements:
build:
Expand Down
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@
zip_safe=False,
install_requires=[], # we use conda build recipe
entry_points=dict(
console_scripts=['msui = mslib.msui.msui:main'],
console_scripts=[
"mscolab = mslib.mscolab.mscolab:main",
"mss = mslib.msui.mss:main",
"mssautoplot = mslib.utils.mssautoplot:main",
"msui = mslib.msui.msui:main",
"mswms = mslib.mswms.mswms:main",
"mswms_demodata = mslib.mswms.demodata:main",
],
),
)

0 comments on commit 1c507c6

Please sign in to comment.