mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 05:21:13 +00:00
[lit] Support use of setup.py from other directories.
llvm-svn: 188309
This commit is contained in:
parent
30dcd21864
commit
a1f2b781ab
@ -1,7 +1,14 @@
|
||||
import lit
|
||||
import os
|
||||
|
||||
# FIXME: Support distutils?
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
# setuptools expects to be invoked from within the directory of setup.py, but it
|
||||
# is nice to allow:
|
||||
# python path/to/setup.py install
|
||||
# to work (for scripts, etc.)
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
setup(
|
||||
name = "lit",
|
||||
version = lit.__version__,
|
||||
|
Loading…
x
Reference in New Issue
Block a user