dmart 1.4.12__py3-none-any.whl → 1.4.13__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.12.dist-info → dmart-1.4.13.dist-info}/METADATA +1 -1
- {dmart-1.4.12.dist-info → dmart-1.4.13.dist-info}/RECORD +7 -7
- dmart.py +8 -2
- dmart_migrations/__pycache__/__init__.cpython-314.pyc +0 -0
- {dmart-1.4.12.dist-info → dmart-1.4.13.dist-info}/WHEEL +0 -0
- {dmart-1.4.12.dist-info → dmart-1.4.13.dist-info}/entry_points.txt +0 -0
- {dmart-1.4.12.dist-info → dmart-1.4.13.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
alembic.ini,sha256=wQweByyHQm-EI8BQkE0SHNRjULJ6Xn5jqgvv88IT5Sg,3738
|
|
2
2
|
bundler.py,sha256=so8ZJResb1PcOH5vboa_mpFAdYr_T8u8DbbFXd570Lg,1704
|
|
3
3
|
data_generator.py,sha256=CnE-VHEeX7-lAXtqCgbRqR9WHjTuOgeiZcviYrHAmho,2287
|
|
4
|
-
dmart.py,sha256=
|
|
4
|
+
dmart.py,sha256=dGBsl6j-cWD91aEeyw4VgHAG8Xh6sYrPXVKKUMRLMtk,24794
|
|
5
5
|
get_settings.py,sha256=Sbe2WCoiK398E7HY4SNLfDN_GmE8knR4M-YJWF31jcg,153
|
|
6
6
|
info.json,sha256=hXQWl19lfMkEj_zXdehGeKjiKGNJ7emY4S7d4pIqJ1E,123
|
|
7
7
|
main.py,sha256=KZGhIL6AnEm5ZAPy4IvhBDpzSTjuodilV7NafNOyhzM,19676
|
|
@@ -178,7 +178,7 @@ dmart_migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
178
178
|
dmart_migrations/env.py,sha256=P1gnJRIUrP2jLHZ7HDbfkzkpuZJ_LMWqw05HIqOUJHo,3110
|
|
179
179
|
dmart_migrations/notes.txt,sha256=X7LYSNmulLRiAUXvw07Z85bSGRTnx4NUpoNC9D2DfO8,395
|
|
180
180
|
dmart_migrations/script.py.mako,sha256=u-ABdYW1tcIILgJFJdQZYLxoAI8Awd6wZbx30rY6fxU,680
|
|
181
|
-
dmart_migrations/__pycache__/__init__.cpython-314.pyc,sha256=
|
|
181
|
+
dmart_migrations/__pycache__/__init__.cpython-314.pyc,sha256=BB6R74YhUmoPWg2dYz2gTIM0CE7sMcOt0dsgqEEPza4,174
|
|
182
182
|
dmart_migrations/__pycache__/env.cpython-314.pyc,sha256=9L-2pPlUSIrHh1JLQilY0TDxqo7_ikqfKhFwImuCuwk,3935
|
|
183
183
|
dmart_migrations/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
184
184
|
dmart_migrations/scripts/calculate_checksums.py,sha256=v2NLEvReA9V3noJE-BWANgKDdhc8Mqg1ZmJJ8nc8sGI,3443
|
|
@@ -282,8 +282,8 @@ utils/ticket_sys_utils.py,sha256=9QAlW2iiy8KyxQRBDj_WmzS5kKb0aYJmGwd4qzmGVqo,700
|
|
|
282
282
|
utils/web_notifier.py,sha256=QM87VVid2grC5lK3NdS1yzz0z1wXljr4GChJOeK86W4,843
|
|
283
283
|
utils/templates/activation.html.j2,sha256=XAMKCdoqONoc4ZQucD0yV-Pg5DlHHASZrTVItNS-iBE,640
|
|
284
284
|
utils/templates/reminder.html.j2,sha256=aoS8bTs56q4hjAZKsb0jV9c-PIURBELuBOpT_qPZNVU,639
|
|
285
|
-
dmart-1.4.
|
|
286
|
-
dmart-1.4.
|
|
287
|
-
dmart-1.4.
|
|
288
|
-
dmart-1.4.
|
|
289
|
-
dmart-1.4.
|
|
285
|
+
dmart-1.4.13.dist-info/METADATA,sha256=0d3-SkAFxQeeKVN8VClBRVNVJapIVbCXbvT8bwFV5fQ,2069
|
|
286
|
+
dmart-1.4.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
287
|
+
dmart-1.4.13.dist-info/entry_points.txt,sha256=GjfoGh1bpxuU9HHGJzbtCFPNptHv9TryxHMN3uBSKpg,37
|
|
288
|
+
dmart-1.4.13.dist-info/top_level.txt,sha256=XELQhaIfj-qupnyBrir39qFRh8ncu1RXkCHeitzqLLg,275
|
|
289
|
+
dmart-1.4.13.dist-info/RECORD,,
|
dmart.py
CHANGED
|
@@ -537,7 +537,10 @@ def main():
|
|
|
537
537
|
pkg_dir = Path(__file__).resolve().parent
|
|
538
538
|
|
|
539
539
|
# Try to find migrations directory
|
|
540
|
-
|
|
540
|
+
# When installed via PyPI, it's renamed to dmart_migrations to avoid conflict with alembic library
|
|
541
|
+
alembic_dir = pkg_dir / "dmart_migrations"
|
|
542
|
+
if not alembic_dir.exists():
|
|
543
|
+
alembic_dir = pkg_dir / "alembic"
|
|
541
544
|
|
|
542
545
|
original_ini_path = pkg_dir / "alembic.ini"
|
|
543
546
|
if not original_ini_path.exists():
|
|
@@ -560,10 +563,13 @@ def main():
|
|
|
560
563
|
# Check if alembic is installed
|
|
561
564
|
check = subprocess.run(
|
|
562
565
|
[sys.executable, "-c", "import alembic"],
|
|
563
|
-
capture_output=True
|
|
566
|
+
capture_output=True,
|
|
567
|
+
env=env
|
|
564
568
|
)
|
|
565
569
|
if check.returncode != 0:
|
|
566
570
|
print("Error: 'alembic' library not found. Please install it with 'pip install alembic'.")
|
|
571
|
+
if check.stderr:
|
|
572
|
+
print(f"Stderr: {check.stderr.decode()}")
|
|
567
573
|
sys.exit(1)
|
|
568
574
|
|
|
569
575
|
import tempfile
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|