forked from OSchip/llvm-project
[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:
parent
34bdddf9a1
commit
8896d12315
|
@ -6,4 +6,3 @@ __versioninfo__ = (0, 11, 0)
|
|||
__version__ = '.'.join(str(v) for v in __versioninfo__) + 'dev'
|
||||
|
||||
__all__ = []
|
||||
from .main import main
|
||||
|
|
|
@ -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',
|
||||
],
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue