Metadata-Version: 2.0
Name: mortar-import
Version: 0.7
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: twine; extra == 'build'
Requires-Dist: wheel; extra == 'build'
Provides-Extra: test
Requires-Dist: coveralls; extra == 'test'
Requires-Dist: mock; extra == 'test'
Requires-Dist: mortar-mixins; extra == 'test'
Requires-Dist: nose; extra == 'test'
Requires-Dist: nose-cov; extra == 'test'
Requires-Dist: testfixtures; extra == 'test'

|Travis|_ |Coveralls|_

.. |Travis| image:: https://api.travis-ci.org/Mortar/mortar_import.png?branch=master
.. _Travis: https://travis-ci.org/Mortar/mortar_import

.. |Coveralls| image:: https://coveralls.io/repos/Mortar/mortar_import/badge.png?branch=master
.. _Coveralls: https://coveralls.io/r/Mortar/mortar_import?branch=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/nosetests --with-cov --cov=mortar_import

Releasing
---------

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




