Mercurial > libervia-backend
comparison setup.py @ 3582:71516731d0aa
core (memory/sqla): database migration using Alembic:
Alembic database migration tool, which is the recommended one for SQLAlchemy has been
integrated. When a database is created, it will be used to stamp to current (head)
revision, otherwise, DB will be checked to see if it needs to be updated, and upgrade will
be triggered if necessary.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 25 Jun 2021 17:55:23 +0200 |
parents | 8dd5e1bac9c3 |
children | 6559c0f847d4 |
comparison
equal
deleted
inserted
replaced
3581:84ea57a8d6b3 | 3582:71516731d0aa |
---|---|
53 'wokkel >= 18.0.0, < 19.0.0', | 53 'wokkel >= 18.0.0, < 19.0.0', |
54 'omemo >= 0.11.0, < 0.13.0', | 54 'omemo >= 0.11.0, < 0.13.0', |
55 'omemo-backend-signal < 0.3', | 55 'omemo-backend-signal < 0.3', |
56 'pyyaml < 5.5.0', | 56 'pyyaml < 5.5.0', |
57 'sqlalchemy >= 1.4', | 57 'sqlalchemy >= 1.4', |
58 'alembic', | |
58 'aiosqlite', | 59 'aiosqlite', |
59 'txdbus' | 60 'txdbus', |
60 ] | 61 ] |
61 | 62 |
62 extras_require = { | 63 extras_require = { |
63 "SVG": ["CairoSVG"], | 64 "SVG": ["CairoSVG"], |
64 } | 65 } |
138 zip_safe=False, | 139 zip_safe=False, |
139 setup_requires=["setuptools_scm"] if is_dev_version else [], | 140 setup_requires=["setuptools_scm"] if is_dev_version else [], |
140 use_scm_version=sat_dev_version if is_dev_version else False, | 141 use_scm_version=sat_dev_version if is_dev_version else False, |
141 install_requires=install_requires, | 142 install_requires=install_requires, |
142 extras_require=extras_require, | 143 extras_require=extras_require, |
143 package_data={"sat": ["VERSION"]}, | 144 package_data={"sat": ["VERSION", "memory/migration/alembic.ini"]}, |
144 python_requires=">=3.7", | 145 python_requires=">=3.7", |
145 ) | 146 ) |