Skip to content

Commit

Permalink
third party main
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Jul 2, 2024
1 parent e704d20 commit 50e158f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ dependencies = [
Home = "https://github.com/NCAR/music-box"

[project.scripts]
music_box = "acom_music_box:main"
music_box = "acom_music_box:main"
third_party = "acom_music_box:third_party"
2 changes: 1 addition & 1 deletion src/acom_music_box/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
from .music_box_evolving_conditions import EvolvingConditions
from acom_music_box import music_box_logger
from .music_box import MusicBox
from .acom_music_box import main
from .acom_music_box import main, third_party
3 changes: 3 additions & 0 deletions src/acom_music_box/acom_music_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@ def main():
music_box_logger.progress("End time: {}".format(datetime.datetime.now()))
sys.exit(0)

def third_party():
print("This is a third-party function.")

if __name__ == "__main__":
main()

0 comments on commit 50e158f

Please sign in to comment.