Commit 497da41a authored by eckhart's avatar eckhart
Browse files

- setup procedure corrected

parent 528bd42d
......@@ -47,3 +47,4 @@ OLDSTUFF
.pytest_cache
*.c
*.pyd
docs/*
Folder "DevScripts"
===================
This folder contains helper scripts for the development of DHParser.
**These scripts are experimental and horribly outdated!**
* collect_symbols.py - Lists all exported symbols from DHParser modules
* create_standalone.py - merges the DHParser modules into a standalone
DHParser.py module for easier deployment.
......@@ -2,18 +2,33 @@ include *.py
include *.txt
include *.md
include LICENSE.*
include MANIFEST.*
include *.sh
include *.cfg
include test/run.py
recursive-exclude docs *
recursive-exclude DHParser *.c
recursive-exclude DHParser *.so
include examples/EBNF/EBNF.ebnf
include examples/Tutorial/Lyrik.ebnf
include examples/Tutorial/recompile_grammar.py
include examples/Tutorial/Lyrisches_Intermezzo_IV.xml
include examples/Tutorial/Lyrisches_Intermezzo_IV.txt
recursive-exclude examples/LaTeX *
recursive-exclude examples/CommonMark *
recursive-exclude examples/MLW *
recursive-exclude examples/Arithmetic *
recursive-exclude examples/ArithmeticRightRecursive *
recursive-exclude examples/BibTeX *
recursive-exclude examples/XMLSnippet *
recursive-exclude build *
recursive-exclude DevScripts *
recursive-exclude dist *
recursive-exclude experimental *
recursive-exclude OLDSTUFF *
recursive-exclude external_resources *
exclude .noseids
exclude buildpackages.bat
exclude buildpackages.sh
exclude upload.sh
exclude upload_test.sh
This diff is collapsed.
#!/bin/sh
cd documentation_src
make html
cd ..
python3 setup.py sdist # bdist_wheel
python3 setup.py sdist bdist_wheel
......@@ -6,7 +6,8 @@ SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = DHParser
SOURCEDIR = .
BUILDDIR = _build
BUILDDIR = ../docs
PYTHONPATH = %PYTHONPATH:../
# Put it first so that "make" without argument is like "make help".
help:
......
......@@ -59,7 +59,7 @@ class ArithmeticGrammar(Grammar):
r"""Parser for an Arithmetic source file.
"""
expression = Forward()
source_hash__ = "a8a1011bf1a9e1204d87031054b831f4"
source_hash__ = "6faf44b68f841558886fbdec4e0e13f7"
static_analysis_pending__ = [True]
parser_initialization__ = ["upon instantiation"]
resume_rules__ = {}
......
......@@ -63,7 +63,7 @@ class ArithmeticRightRecursiveGrammar(Grammar):
sign = Forward()
tail = Forward()
term = Forward()
source_hash__ = "57a303f28ffb50a84b86e98c71ea2e32"
source_hash__ = "59dabcef8ed22bb237a3d16649cfd49b"
static_analysis_pending__ = [True]
parser_initialization__ = ["upon instantiation"]
resume_rules__ = {}
......
......@@ -60,7 +60,7 @@ class ArithmeticRightRecursiveGrammar(Grammar):
"""
expression = Forward()
term = Forward()
source_hash__ = "de949295be0b4c5b67cee8aa9cd1a73e"
source_hash__ = "a4c454a8ffa4576989f457a1377636ff"
static_analysis_pending__ = [True]
parser_initialization__ = ["upon instantiation"]
resume_rules__ = {}
......
......@@ -59,7 +59,7 @@ class ArithmeticSimpleGrammar(Grammar):
r"""Parser for an ArithmeticSimple source file.
"""
expression = Forward()
source_hash__ = "f38b228d19529d9527400ded8f94c63b"
source_hash__ = "1c40730b32be73985d09f105e76bb4c4"
static_analysis_pending__ = [True]
parser_initialization__ = ["upon instantiation"]
resume_rules__ = {}
......
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