drgn/.gitignore
Omar Sandoval 388b6a1090 Generate version.py instead of using pkg_resources
We get the version of drgn with pkg_resources.get_distribution() in two
places: setup.py (when using an sdist) and the CLI. The former causes
problems because in some cases, pip doesn't find the drgn distribution
that's currently being built. The latter adds significant latency to
startup. On my laptop, just importing pkg_resources takes 130 ms. We can
solve both of these problems by generating a file containing the version
instead.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2020-10-20 02:40:16 -07:00

14 lines
148 B
Plaintext

*.pyc
*.so
/.coverage
/.mypy_cache
/build
/coverage.info
/cscope.*
/dist
/docs/_build
/drgn.egg-info
/drgn/internal/version.py
/htmlcov
__pycache__