Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 448 Bytes

README-dev.md

File metadata and controls

20 lines (17 loc) · 448 Bytes

Development

From a checkout of the repo, run a demo:

pip install -r requirements.txt
PYTHONPATH="${PYTHONPATH}:tableschema_to_template" \
  tableschema_to_template/ts2xl.py \
  tests/fixtures/schema.yaml /tmp/template.xlsx
# Open with Excel:
open /tmp/template.xlsx

Run the tests:

pip install -r requirements-dev.txt
./test.sh

To build and publish, make sure you have a .pypirc with a token, and then run ./publish.sh.