-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathICS_Merger.py
More file actions
22 lines (15 loc) · 813 Bytes
/
Copy pathICS_Merger.py
File metadata and controls
22 lines (15 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""Convenience launcher for running the ICS Event Merger without installing it.
This thin wrapper lets you run the tool straight from a clone:
python ICS_Merger.py # open the drag-and-drop GUI
python ICS_Merger.py <directory> # merge every .ics file in <directory>
For an installed experience, run ``pip install .`` and use the ``ics-merger``
command or ``python -m ics_merger`` instead. All of the real logic lives in the
``ics_merger`` package under ``src/``.
"""
import os
import sys
# Make the src/ layout importable when running from a clone (no install needed).
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "src"))
from ics_merger.cli import main # noqa: E402 (import follows sys.path setup)
if __name__ == "__main__":
sys.exit(main())