• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Todo
2----
3
4Version Update
5--------------
6
7setup.py, __init__.py, README, CHANGES
8- Make sure _build_tables was run in pycparser/
9- If PLY version changes, note it in README and ply/LICENSE
10- Run tox tests
11
12python setup.py sdist
13
14Copy the newly created tarball and untar it; check that the permissions of
15Python files in the pycparser/ directory are OK. Check to see that lextab.py and
16yacctab.py are there.
17
18Now create a new virtualenv and in it install the tarball with
19`pip install <tarballname>`. See that pycparser is importable in the Python
20interpreter of this virtualenv; run pycparser tests from this virtualenv.
21
22After this it's OK to rerun `python3.6 -m twine upload dist/*` to push to PyPI
23(older Pythons use a deprecated API for PyPI uploading).
24
25- Tag in git. When pushing to GitHub, git push --tags
26
27Misc
28----
29
30yacc optimization:
31- If parsetab.py/pyc doesn't exist in the path, the table will be reconstructed
32  anyway, regardless of the optimize parameter
33- If it does exist:
34  - If optimize=True, the table will be loaded unconditionally
35  - If optimize=False, the table will be loaded only if it's older than the
36    grammar
37
38lex optimization:
39- If optimize=False, the lexical table is re-computed and is not saved to a
40  lextab file
41- If optimize=True:
42  - If lextab.py/pyc exists in the path, it will be loaded unconditionally
43  - If lextab.py/pyc doesn't exist, it will be created and loaded
44