Metadata-Version: 2.1
Name: mortar-import
Version: 0.12.1
Summary: Tools for importing data, particularly when using mortar_mixins
Home-page: https://github.com/Mortar/mortar_import
Author: Chris Withers
Author-email: chris@withers.org
License: MIT
Platform: UNKNOWN
Requires-Dist: six
Provides-Extra: build
Requires-Dist: setuptools-git ; extra == 'build'
Requires-Dist: wheel ; extra == 'build'
Requires-Dist: twine ; extra == 'build'
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: testfixtures ; extra == 'test'
Requires-Dist: coveralls ; extra == 'test'
Requires-Dist: mortar-mixins ; extra == 'test'
Requires-Dist: mortar-rdb ; extra == 'test'
Requires-Dist: mock ; extra == 'test'

|CircleCI|_

.. |CircleCI| image:: https://circleci.com/gh/Mortar/mortar_import/tree/master.svg?style=shield
.. _CircleCI: https://circleci.com/gh/Mortar/mortar_import/tree/master

mortar_import
=============

Tools for importing data, particularly when using mortar_mixins.

Install from PyPI with pip.

Development
-----------

Get a clone of the git repo and then do the following::

  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
  bin/pytest --cov

Releasing
---------

To make a release, just update the version in ``setup.py``
and push to https://github.com/Mortar/mortar_import
and Carthorse should take care of the rest.




