1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[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] cf252240e8819d0c90a5e10f773078bdeba33e44

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 c9245d5323
commit 2723dcfb82
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',
],
}
)