dmart 1.4.26__py3-none-any.whl → 1.4.28__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dmart-1.4.26.dist-info → dmart-1.4.28.dist-info}/METADATA +1 -1
- {dmart-1.4.26.dist-info → dmart-1.4.28.dist-info}/RECORD +6 -6
- dmart.py +11 -13
- {dmart-1.4.26.dist-info → dmart-1.4.28.dist-info}/WHEEL +0 -0
- {dmart-1.4.26.dist-info → dmart-1.4.28.dist-info}/entry_points.txt +0 -0
- {dmart-1.4.26.dist-info → dmart-1.4.28.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
bundler.py,sha256=MDTUTVS0WL7gb-i1rDcS4i37KTqaW88TluL4L3rwjRw,1817
|
|
2
2
|
data_generator.py,sha256=CnE-VHEeX7-lAXtqCgbRqR9WHjTuOgeiZcviYrHAmho,2287
|
|
3
|
-
dmart.py,sha256=
|
|
3
|
+
dmart.py,sha256=cWoi5WFSVkwaQhrCQQrTBFd0MKmEQ2y0lrv0GYEfMnw,23763
|
|
4
4
|
get_settings.py,sha256=Sbe2WCoiK398E7HY4SNLfDN_GmE8knR4M-YJWF31jcg,153
|
|
5
5
|
main.py,sha256=KZGhIL6AnEm5ZAPy4IvhBDpzSTjuodilV7NafNOyhzM,19676
|
|
6
6
|
migrate.py,sha256=hn1MZoVby_Jjqhc7y3CrLcGD619QmVZv3PONNvO7VKQ,665
|
|
@@ -271,8 +271,8 @@ utils/ticket_sys_utils.py,sha256=9QAlW2iiy8KyxQRBDj_WmzS5kKb0aYJmGwd4qzmGVqo,700
|
|
|
271
271
|
utils/web_notifier.py,sha256=QM87VVid2grC5lK3NdS1yzz0z1wXljr4GChJOeK86W4,843
|
|
272
272
|
utils/templates/activation.html.j2,sha256=XAMKCdoqONoc4ZQucD0yV-Pg5DlHHASZrTVItNS-iBE,640
|
|
273
273
|
utils/templates/reminder.html.j2,sha256=aoS8bTs56q4hjAZKsb0jV9c-PIURBELuBOpT_qPZNVU,639
|
|
274
|
-
dmart-1.4.
|
|
275
|
-
dmart-1.4.
|
|
276
|
-
dmart-1.4.
|
|
277
|
-
dmart-1.4.
|
|
278
|
-
dmart-1.4.
|
|
274
|
+
dmart-1.4.28.dist-info/METADATA,sha256=AuafGMRUe_zaEa2xL6RNUq0bkagS_Y8vpFH-hdsr1nw,2149
|
|
275
|
+
dmart-1.4.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
276
|
+
dmart-1.4.28.dist-info/entry_points.txt,sha256=GjfoGh1bpxuU9HHGJzbtCFPNptHv9TryxHMN3uBSKpg,37
|
|
277
|
+
dmart-1.4.28.dist-info/top_level.txt,sha256=S-gfX1pLerapNXiHZ8lvPYoV7sgwSX2_NCZ6xfzDUHM,267
|
|
278
|
+
dmart-1.4.28.dist-info/RECORD,,
|
dmart.py
CHANGED
|
@@ -3,14 +3,12 @@ from __future__ import annotations
|
|
|
3
3
|
|
|
4
4
|
import argparse
|
|
5
5
|
import asyncio
|
|
6
|
-
import configparser
|
|
7
6
|
import json
|
|
8
7
|
import os
|
|
9
8
|
import shutil
|
|
9
|
+
import sys
|
|
10
10
|
import ssl
|
|
11
11
|
import subprocess
|
|
12
|
-
import sys
|
|
13
|
-
import tempfile
|
|
14
12
|
import time
|
|
15
13
|
import warnings
|
|
16
14
|
import webbrowser
|
|
@@ -20,14 +18,6 @@ from pathlib import Path
|
|
|
20
18
|
from hypercorn.config import Config
|
|
21
19
|
from hypercorn.run import run
|
|
22
20
|
|
|
23
|
-
try:
|
|
24
|
-
from alembic import command as alembic_command
|
|
25
|
-
from alembic.config import Config as AlembicConfig
|
|
26
|
-
HAS_ALEMBIC = True
|
|
27
|
-
ALEMBIC_ERROR = None
|
|
28
|
-
except ImportError as e:
|
|
29
|
-
HAS_ALEMBIC = False
|
|
30
|
-
ALEMBIC_ERROR = e
|
|
31
21
|
|
|
32
22
|
from data_adapters.file.archive import archive
|
|
33
23
|
from data_adapters.file.create_index import main as create_index
|
|
@@ -394,8 +384,6 @@ def hypercorn_main() -> int:
|
|
|
394
384
|
|
|
395
385
|
|
|
396
386
|
def main():
|
|
397
|
-
global sys
|
|
398
|
-
|
|
399
387
|
args = sys.argv[1:]
|
|
400
388
|
if len(args) == 0:
|
|
401
389
|
print("You must provide a command to run:")
|
|
@@ -566,6 +554,16 @@ def main():
|
|
|
566
554
|
sys.exit(1)
|
|
567
555
|
|
|
568
556
|
try:
|
|
557
|
+
|
|
558
|
+
try:
|
|
559
|
+
from alembic import command as alembic_command
|
|
560
|
+
from alembic.config import Config as AlembicConfig
|
|
561
|
+
HAS_ALEMBIC = True
|
|
562
|
+
ALEMBIC_ERROR = None
|
|
563
|
+
except ImportError as e:
|
|
564
|
+
HAS_ALEMBIC = False
|
|
565
|
+
ALEMBIC_ERROR = e
|
|
566
|
+
|
|
569
567
|
# Check if alembic library is installed
|
|
570
568
|
if not HAS_ALEMBIC:
|
|
571
569
|
print(f"Error: 'alembic' library not found. {ALEMBIC_ERROR}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|