blob: d946d304db6d99bdd8bc70e94547173e0c496d11 [file] [log] [blame]
Eli Bendersky8dbd1492013-08-03 06:07:08 -07001Todo
2----
3
Eli Bendersky8dbd1492013-08-03 06:07:08 -07004Version Update
5--------------
6
Eli Bendersky40af8bd2015-04-21 14:48:45 -07007setup.py, __init__.py, README, CHANGES
Eli Bendersky978ad7a2015-04-21 17:04:53 -07008- Make sure _build_tables was run in pycparser/
Eli Bendersky8dbd1492013-08-03 06:07:08 -07009- If PLY version changes, note it in README and ply/LICENSE
Eli Bendersky40af8bd2015-04-21 14:48:45 -070010- Run tox tests
Eli Bendersky8dbd1492013-08-03 06:07:08 -070011
Eli Benderskyf29f92a2016-10-27 20:15:49 -070012python setup.py sdist
Eli Bendersky8dbd1492013-08-03 06:07:08 -070013
Eli Bendersky37648df2016-10-27 20:20:38 -070014Copy 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
Eli Bendersky0055fac2020-03-04 06:19:43 -080022After this it's OK to rerun `python3.6 -m twine upload dist/*` to push to PyPI
Eli Bendersky3c86ff42017-07-04 15:19:24 -070023(older Pythons use a deprecated API for PyPI uploading).
Eli Bendersky37648df2016-10-27 20:20:38 -070024
25- Tag in git. When pushing to GitHub, git push --tags
26
Eli Bendersky8dbd1492013-08-03 06:07:08 -070027Misc
28----
29
Eli Benderskydfeac9e2017-01-28 07:08:43 -080030yacc optimization:
Eli Bendersky2660ca92013-08-03 06:35:09 -070031- If parsetab.py/pyc doesn't exist in the path, the table will be reconstructed
32 anyway, regardless of the optimize parameter
Eli Bendersky8dbd1492013-08-03 06:07:08 -070033- If it does exist:
34 - If optimize=True, the table will be loaded unconditionally
Eli Benderskyf29f92a2016-10-27 20:15:49 -070035 - If optimize=False, the table will be loaded only if it's older than the
36 grammar
Eli Bendersky8dbd1492013-08-03 06:07:08 -070037
38lex optimization:
Eli Benderskyf29f92a2016-10-27 20:15:49 -070039- If optimize=False, the lexical table is re-computed and is not saved to a
40 lextab file
Eli Bendersky8dbd1492013-08-03 06:07:08 -070041- 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