SQLAlchemy混合物,用于与Postgres一起使用。
项目描述
mortar_mixins
SQLAlchemy混合物,用于与Postgres 9.2+一起使用。
使用pip从PyPI安装。
开发
克隆git仓库,然后执行以下操作
virtualenv . bin/pip install -e .[build,test] sudo -u postgres psql -d postgres -c "create user testuser with password 'testpassword';" sudo -u postgres createdb -O testuser testdb sudo -u postgres psql -d testdb -c "CREATE EXTENSION btree_gist;" export DB_URL=postgres://testuser:testpassword@localhost:5432/testdb pytest --cov
发布
要发布,只需更新setup.py中的版本并将其推送到https://github.com/Mortar/mortar_mixins,Carthorse将处理其余部分。