[all-commits] [llvm/llvm-project] dcaaed: [lit] Add "from .main import main" back into lit/_...
Jessica Paquette via All-commits
all-commits at lists.llvm.org
Thu Dec 19 16:10:28 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dcaaede1e57eda42376730d9eaa3311e6e9557c4
https://github.com/llvm/llvm-project/commit/dcaaede1e57eda42376730d9eaa3311e6e9557c4
Author: Jessica Paquette <jpaquette at apple.com>
Date: 2019-12-19 (Thu, 19 Dec 2019)
Changed paths:
M llvm/utils/lit/lit/__init__.py
Log Message:
-----------
[lit] Add "from .main import main" back into lit/__init__.py
A refactoring commit (cf252240) removed this line. Removing it broke installing
lit with pip and setup.py.
This adds the line back in so that we can install lit again.
For an example of how this appeared, see:
http://green.lab.llvm.org/green/job/LNT_Tests/5853/
File "/Users/buildslave/jenkins/...s/__init__.py", line 2453, in resolve
raise ImportError(str(exc))
ImportError: 'module' object has no attribute 'main'
More information about the All-commits
mailing list