mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[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
This commit is contained in:
parent
3add0679d2
commit
13e26da155
@ -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…
Reference in New Issue
Block a user