llvm.org GIT mirror llvm / 13e26da
[lit] Support use of setup.py from other directories. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188309 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 6 years ago
1 changed file(s) with 8 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 import lit
1 import os
12
2 # FIXME: Support distutils?
33 from setuptools import setup, find_packages
4
5 # setuptools expects to be invoked from within the directory of setup.py, but it
6 # is nice to allow:
7 # python path/to/setup.py install
8 # to work (for scripts, etc.)
9 os.chdir(os.path.dirname(os.path.abspath(__file__)))
10
411 setup(
512 name = "lit",
613 version = lit.__version__,