[lit] Avoid global imports in module declaration

A previous attempt to cleanup module imports broke installing via
pip/setup.py [1].  This should be fixed now.

[1] cf252240e8

Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D76940
This commit is contained in:
Julian Lettner 2020-03-27 10:46:32 -07:00
parent 34bdddf9a1
commit 8896d12315
2 changed files with 1 additions and 2 deletions

View File

@ -6,4 +6,3 @@ __versioninfo__ = (0, 11, 0)
__version__ = '.'.join(str(v) for v in __versioninfo__) + 'dev'
__all__ = []
from .main import main

View File

@ -71,7 +71,7 @@ https://github.com/llvm/llvm-project/tree/master/llvm/utils/lit
packages = find_packages(),
entry_points = {
'console_scripts': [
'lit = lit:main',
'lit = lit.main:main',
],
}
)