Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 36ac491f authored by eckhart's avatar eckhart
Browse files

- README ergänzt und PyPi-upload-Skripte aktualisiert

parent c23f3d81
......@@ -33,6 +33,7 @@ from .toolkit import *
from .transform import *
from .versionnumber import __version__
name = "DHParser"
__author__ = "Eckhart Arnold <arnold@badw.de>"
__copyright__ = "http://www.apache.org/licenses/LICENSE-2.0"
# __all__ = ['toolkit', 'stringview', 'error', 'syntaxtree', 'preprocess', 'parse',
......
......@@ -31,6 +31,32 @@ Python 3.5 source code in order for DHParser to be backwards compatible
with Python 3.4. The module ``DHParser/foreign_typing.py`` is licensed under the
[Python Software Foundation License Version 2](https://docs.python.org/3.5/license.html)
Installation
------------
You can install DHParser from the Python package index (https://pypi.org)*:
python -m pip install --user --upgrade DHParser
However, as the software is still in an early beta stage, it is
recommended that you pull it directly from gitlab (see below).
Post-Installaton
----------------
It is recommended that you install the `regex`-module
(https://bitbucket.org/mrabarnett/mrab-regex). If present, DHParser
will use `regex` instead of the built-in `re`-module for regular
expressions. `regex` is faster and more powerful than `re`.
In order to speed up DHParser even more, it is recommended that you
run the `buildpackages.sh`-script (or `buildpackages.bat` on
Windows-systems) after installation. This script compiles the
`stringview.py`-module to C-Code with the cython C to Python compiler
(https://cython.org). This requires that you have cython and a
C-compiler installed on your system.
Sources
-------
......@@ -113,6 +139,7 @@ Further (intended) use cases are:
Mark and Markdown also go beyond what is feasible with pure
EBNF-based-parsers.)
* EBNF itself. DHParser is already self-hosting ;-)
* XML-parser, just for the fun of it ;-)
* Digital and cross-media editions
* Digital dictionaries
......
#!/bin/sh
python3 setup.py sdist bdist
python3 setup.py sdist # bdist_wheel
#!/usr/bin/sh
twine upload dist/* # -r testpypi
twine upload dist/*
#!/usr/bin/sh
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment