Commit 6d03153c authored by Olivier Sallou's avatar Olivier Sallou

add script for database migration and files for wheel packaging

parent 536a1b3f
3.1.0:
## Needs database upgrade
If using biomaj-watcher, must use version >= 3.1.0
Feature #67,#66,#61 switch to micro service architecture. Still works in local monolithic install
Fix some configuration parameter loading when not defined in config
......
from biomaj.schema_version import SchemaVersion
import logging
logging.warn('Migrate BioMAJ database...')
logging.warn('Needs global.properties in local directory or env variable BIOMAJ_CONF')
SchemaVersion.migrate_pendings()
logging.warn('Migration done')
[bdist_wheel]
universal=1
......@@ -76,7 +76,7 @@ config = {
'test_suite': 'nose.collector',
'packages': find_packages(),
'include_package_data': True,
'scripts': [],
'scripts': ['scripts/biomaj_migrate_database.py'],
'name': 'biomaj',
'cmdclass': {'install': post_install},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment