Skip to content

Commit

Permalink
Release: 0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kolypto committed Dec 26, 2018
1 parent 4b1581e commit 205ae2d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SHELL := /bin/bash
clean:
@rm -rf build/ dist/ *.egg-info/ README.md README.rst
README.md: $(shell find misc/ j2cli/)
@python misc/_doc/README.py | j2 -f json misc/_doc/README.md.j2 > $@
@python misc/_doc/README.py | python j2cli/__init__.py -f json misc/_doc/README.md.j2 > $@
README.rst: README.md
@pandoc -f markdown -t rst -o README.rst README.md

Expand All @@ -18,6 +18,12 @@ publish-test: README.rst
publish: README.rst
@twine upload dist/*

# Just remember
# Just a few notes:

# Virtualenv:
# $ virtualenv venv OR $ python3 -m venv venv
# $ . venv/bin/activate
# $ pip install -e . && pip install -r requirements-dev.txt

# Test in Python 2.6:
# docker run --rm -it -v $(realpath .):/app mrupgrade/deadsnakes:2.6 bash -c 'cd /app && pip install -e . && pip install nose tox && nosetests'
# $ docker run --rm -it -v $(realpath .):/app mrupgrade/deadsnakes:2.6 bash -c 'cd /app && pip install -e . && pip install nose tox && nosetests'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Features:
* Jinja2 templating
* Allows to use environment variables! Hello [Docker](http://www.docker.com/) :)
* INI, YAML, JSON data sources supported
* Environment variables in templates

Inspired by [mattrobenolt/jinja2-cli](https://github.com/mattrobenolt/jinja2-cli)

Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Features:
- Allows to use environment variables! Hello
`Docker <http://www.docker.com/>`__ :)
- INI, YAML, JSON data sources supported
- Environment variables in templates

Inspired by
`mattrobenolt/jinja2-cli <https://github.com/mattrobenolt/jinja2-cli>`__
Expand Down
1 change: 1 addition & 0 deletions misc/_doc/README.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Features:
* Jinja2 templating
* Allows to use environment variables! Hello [Docker](http://www.docker.com/) :)
* INI, YAML, JSON data sources supported
* Environment variables in templates

Inspired by [mattrobenolt/jinja2-cli](https://github.com/mattrobenolt/jinja2-cli)

Expand Down
19 changes: 9 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
#!/usr/bin/env python
"""
j2cli
==========
j2cli - Jinja2 Command-Line Tool
================================
``j2cli`` is a command-line tool for templating in shell-scripts,
leveraging the `Jinja2 <http://jinja.pocoo.org/docs/>`__ library.
`j2cli` is a command-line tool for templating in shell-scripts,
leveraging the [Jinja2](http://jinja.pocoo.org/docs/) library.
Features:
- Jinja2 templating
- Allows to use environment variables! Hello
`Docker <http://www.docker.com/>`__ :)
- INI, YAML, JSON data sources supported
* Jinja2 templating
* Allows to use environment variables! Hello [Docker](http://www.docker.com/) :)
* INI, YAML, JSON data sources supported
* Environment variables in templates
Inspired by
`mattrobenolt/jinja2-cli <https://github.com/mattrobenolt/jinja2-cli>`__
Inspired by [mattrobenolt/jinja2-cli](https://github.com/mattrobenolt/jinja2-cli)
"""

from setuptools import setup, find_packages
Expand Down

0 comments on commit 205ae2d

Please sign in to comment.