mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-16 21:37:59 +08:00
13 lines
312 B
Python
13 lines
312 B
Python
# Work around bug https://github.com/pallets/werkzeug/issues/461
|
|
if __package__ is None:
|
|
import sys
|
|
from pathlib import Path
|
|
PKG_PATH = Path(__file__).parent
|
|
sys.path.insert(0, str(PKG_PATH.parent))
|
|
import server
|
|
__package__ = PKG_PATH.name
|
|
|
|
# Main thing
|
|
from .app.app import main
|
|
main()
|