21 lines
427 B
Python
21 lines
427 B
Python
#!/usr/bin/env python3
|
|
|
|
from pathlib import Path
|
|
import sys
|
|
|
|
|
|
def _bootstrap_project_root() -> None:
|
|
project_root = Path(__file__).resolve().parents[1]
|
|
project_root_text = str(project_root)
|
|
if project_root_text not in sys.path:
|
|
sys.path.insert(0, project_root_text)
|
|
|
|
|
|
_bootstrap_project_root()
|
|
|
|
from inventory_analytics.batch_upload.web import main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|