Skip to content

Commit

Permalink
installation: pinning of CairoSVG
Browse files Browse the repository at this point in the history
* Closes #40.

Co-authored-by: Krzysztof Nowak <k.nowak@cern.ch>
Signed-off-by: Alexander Ioannidis <a.ioannidis@cern.ch>
  • Loading branch information
slint and Krzysztof Nowak committed Dec 6, 2016
1 parent f6c7ea0 commit 483d048
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@
# waive the privileges and immunities granted to it by virtue of its status
# as an Intergovernmental Organization or submit itself to any jurisdiction.


# 1) Create message catalog:
# $ python setup.py extract_messages
# $ python setup.py init_catalog -l <lang>
# $ python setup.py compile_catalog
# 2) Ensure project has been created on Transifex under the inveniosoftware
# organisation.
# 3) Install the transifex-client
# $ pip install transifex-client
# 4) Push source (.pot) and translations (.po) to Transifex
# $ tx push -s -t
# 5) Pull translations for a single language from Transifex
# $ tx pull -l <lang>
# 6) Pull translations for all languages from Transifex
# $ tx pull -a

[main]
host = https://www.transifex.com

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Ready to contribute? Here's how to set up `invenio-formatter` for local developm
-m "* NEW Adds your new feature."
-m "* FIX Fixes an existing issue."
-m "* BETTER Improves and existing feature."
-m "* Changes something that should not be visible in release notes"
-m "* Changes something that should not be visible in release notes."
$ git push origin name-of-your-bugfix-or-feature
7. Submit a pull request through the GitHub website.
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
'Sphinx>=1.4.2',
],
'badges': [
'CairoSVG>=1.0.20',
# CairoSVG 2.0.0 only supports Python 3
'CairoSVG>=1.0.20,<2.0.0;python_version<"3.0"',
'CairoSVG>=1.0.20;python_version>="3.0"',
'Pillow>=3.2.0',
],
'tests': tests_require,
Expand Down

0 comments on commit 483d048

Please sign in to comment.