mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-06-26 10:29:57 +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 lit
|
||||||
|
import os
|
||||||
|
|
||||||
# FIXME: Support distutils?
|
|
||||||
from setuptools import setup, find_packages
|
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(
|
setup(
|
||||||
name = "lit",
|
name = "lit",
|
||||||
version = lit.__version__,
|
version = lit.__version__,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user