[python3 hgloader] .pyc pre-generation

Blaise Thorn blaise at mail.ru
Sun Aug 4 17:15:16 UTC 2019


How would I go about pre-generating /proper/ .pyc files for Mercurial?

The installer (`python3 setup.py install` @ Makefile) produces pristine .pyc (kinda wasteful, since they will be overwritten anyway).
I am no Python user; the naïve
	python3 -c 'import mercurial; import compileall; compileall.compile_dir(".")'
yielded the same pristine .pyc files; I presume, this way, hgloader is not activated?

-- 
βþ


More information about the Mercurial mailing list