Loading files
701e58161This file is pinned to the selected release. Download the original to open it in your design tool.
701e58161This file is pinned to the selected release. Download the original to open it in your design tool.
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/tulipcc-498083946.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
Todo
----
Version Update
--------------
setup.py, __init__.py, README, CHANGES
- Make sure _build_tables was run in pycparser/
- If PLY version changes, note it in README and ply/LICENSE
python setup.py sdist bdist_wheel
Copy the newly created tarball and untar it; check that the permissions of
Python files in the pycparser/ directory are OK. Check to see that lextab.py and
yacctab.py are there.
Now create a new virtualenv and in it install the tarball with
`pip install <tarballname>`. May need to install `wheel` first if seeing errors
about `bdist_wheel`.
See that pycparser is importable in the Python interpreter of this virtualenv;
run pycparser tests from this virtualenv.
After this it's OK to rerun `python3.6 -m twine upload dist/*` to push to PyPI
(older Pythons use a deprecated API for PyPI uploading).
- Tag in git. When pushing to GitHub, git push --tags
- Create new GitHub release (?)
Misc
----
yacc optimization:
- If parsetab.py/pyc doesn't exist in the path, the table will be reconstructed
anyway, regardless of the optimize parameter
- If it does exist:
- If optimize=True, the table will be loaded unconditionally
- If optimize=False, the table will be loaded only if it's older than the
grammar
lex optimization:
- If optimize=False, the lexical table is re-computed and is not saved to a
lextab file
- If optimize=True:
- If lextab.py/pyc exists in the path, it will be loaded unconditionally
- If lextab.py/pyc doesn't exist, it will be created and loaded