Loading .gitignore 0 → 100644 +65 −0 Original line number Diff line number Diff line # crazy-compiler standard excludes /projectlogo.png /docs/_build/ *.[1-9] # editor artefacts *~ .#* \#*# .*.swp # build artefacts /.sconf_temp /.sconsign.* /config.h /config.log /config.status /autom4te*.cache /options.cache /stamp-h1 # C, C++ build artefacts *.[oa] *.l[oa] *.al .libs .deps *.so *.so.[0-9]* *.rej *.dll .idea # Python build artefacts /build/ /dist/ /_venv/ /pip-selfcheck.json /pyvenv.cfg *.py[cod] *.egg *.egg-info *.egg-link /nosetests.xml /.coverage /.tox /.achievements /.installed.cfg /.ropeproject /.cache # Mr Developer /.mr.developer.cfg /.project /.pydevproject # OS generated files *.DS_[sS]Store* ehthumbs.db Icon? Thumbs.db *.pid ._.**~ .gitlab-ci.yml 0 → 100644 +45 −0 Original line number Diff line number Diff line image: python stages: - test - build - release before_script: - apt-get update -qq && apt-get install -y -q ghostscript - curl -O https://bootstrap.pypa.io/get-pip.py - python get-pip.py - pip install -r requirements.txt python2: image: python:2.7 stage: test script: tox -e py27 python34: image: python:3.4 stage: test script: tox -e py34 python35: image: python:3.5 stage: test script: tox -e py35 python36: image: python:3.6 stage: test script: tox -e py36 linters: image: python:3.5 stage: test script: tox -e linters build: stage: build script: tox -e build artifacts: paths: - dist/ expire_in: 1 week .hgignoredeleted 100644 → 0 +0 −16 Original line number Diff line number Diff line syntax: glob *~ .\#* \#*# *.py[co] build dist *.egg *.egg-info *.egg-link projectlogo*.png .sconsign.dblite syntax: regexp ^stuff/.* CHANGES.txt +41 −2 Original line number Diff line number Diff line .. -*- mode: rst ; ispell-local-dictionary: "american" -*- Changes ================== :0.6 (2018-01-16): * Add support for Python 3.x (tested with Python 3.4). Minimum required Python version is now 2.7. * Add support for display callback and an example program using it. Thanks to Lasse Fister. * Add context-interface (for the ``with``-statement). * ``GhostscriptError`` now has an attribute ``code`` holding the numeric error-code. * ``Ghostscript()`` now accepts keyword-arguments ``stdin``, ``stdout``, ``stderr`` for setting the respective stream. This was already implementd in version 0.4.1, but not documented. * Add unittest suite (using pytest). * Several bug fixes and smaller changes. * Switch version control to git and move project to gitlab. See Readme-file for the new URL. * Set up continuous integration tests. :0.5 (skipped): * v0.5 was skipped to avoid version conflicts with fork `python3-ghostscript`. All changes of that fork are integrated into v0.6. :0.4.1 (2011-02-09): * Fixed import module on Windows XP. Thanks to Akihiro Takizawa for Loading Loading @@ -48,3 +80,10 @@ Changes * This is the first public release of the Python Ghostscript C-API interface. .. Emacs config: Local Variables: mode: rst ispell-local-dictionary: "american" End: Makefile 0 → 100644 +4 −0 Original line number Diff line number Diff line # create PNG projectlogo for project homepage projectlogo.png: projectlogo.svg inkscape -z -f $< -e $@ --export-height=100 Loading
.gitignore 0 → 100644 +65 −0 Original line number Diff line number Diff line # crazy-compiler standard excludes /projectlogo.png /docs/_build/ *.[1-9] # editor artefacts *~ .#* \#*# .*.swp # build artefacts /.sconf_temp /.sconsign.* /config.h /config.log /config.status /autom4te*.cache /options.cache /stamp-h1 # C, C++ build artefacts *.[oa] *.l[oa] *.al .libs .deps *.so *.so.[0-9]* *.rej *.dll .idea # Python build artefacts /build/ /dist/ /_venv/ /pip-selfcheck.json /pyvenv.cfg *.py[cod] *.egg *.egg-info *.egg-link /nosetests.xml /.coverage /.tox /.achievements /.installed.cfg /.ropeproject /.cache # Mr Developer /.mr.developer.cfg /.project /.pydevproject # OS generated files *.DS_[sS]Store* ehthumbs.db Icon? Thumbs.db *.pid ._.**~
.gitlab-ci.yml 0 → 100644 +45 −0 Original line number Diff line number Diff line image: python stages: - test - build - release before_script: - apt-get update -qq && apt-get install -y -q ghostscript - curl -O https://bootstrap.pypa.io/get-pip.py - python get-pip.py - pip install -r requirements.txt python2: image: python:2.7 stage: test script: tox -e py27 python34: image: python:3.4 stage: test script: tox -e py34 python35: image: python:3.5 stage: test script: tox -e py35 python36: image: python:3.6 stage: test script: tox -e py36 linters: image: python:3.5 stage: test script: tox -e linters build: stage: build script: tox -e build artifacts: paths: - dist/ expire_in: 1 week
.hgignoredeleted 100644 → 0 +0 −16 Original line number Diff line number Diff line syntax: glob *~ .\#* \#*# *.py[co] build dist *.egg *.egg-info *.egg-link projectlogo*.png .sconsign.dblite syntax: regexp ^stuff/.*
CHANGES.txt +41 −2 Original line number Diff line number Diff line .. -*- mode: rst ; ispell-local-dictionary: "american" -*- Changes ================== :0.6 (2018-01-16): * Add support for Python 3.x (tested with Python 3.4). Minimum required Python version is now 2.7. * Add support for display callback and an example program using it. Thanks to Lasse Fister. * Add context-interface (for the ``with``-statement). * ``GhostscriptError`` now has an attribute ``code`` holding the numeric error-code. * ``Ghostscript()`` now accepts keyword-arguments ``stdin``, ``stdout``, ``stderr`` for setting the respective stream. This was already implementd in version 0.4.1, but not documented. * Add unittest suite (using pytest). * Several bug fixes and smaller changes. * Switch version control to git and move project to gitlab. See Readme-file for the new URL. * Set up continuous integration tests. :0.5 (skipped): * v0.5 was skipped to avoid version conflicts with fork `python3-ghostscript`. All changes of that fork are integrated into v0.6. :0.4.1 (2011-02-09): * Fixed import module on Windows XP. Thanks to Akihiro Takizawa for Loading Loading @@ -48,3 +80,10 @@ Changes * This is the first public release of the Python Ghostscript C-API interface. .. Emacs config: Local Variables: mode: rst ispell-local-dictionary: "american" End:
Makefile 0 → 100644 +4 −0 Original line number Diff line number Diff line # create PNG projectlogo for project homepage projectlogo.png: projectlogo.svg inkscape -z -f $< -e $@ --export-height=100