@@ -71,7 +71,7 @@ git clone https://github.com/triton-lang/triton.git
7171cd triton
7272
7373pip install -r python/requirements.txt # build-time dependencies
74- pip install -e python
74+ pip install -e .
7575```
7676
7777Or with a virtualenv:
@@ -84,7 +84,7 @@ python -m venv .venv --prompt triton
8484source .venv/bin/activate
8585
8686pip install -r python/requirements.txt # build-time dependencies
87- pip install -e python
87+ pip install -e .
8888```
8989
9090# Building with a custom LLVM
@@ -124,7 +124,7 @@ arbitrary LLVM version.
124124 $ LLVM_INCLUDE_DIRS=$LLVM_BUILD_DIR/include \
125125 LLVM_LIBRARY_DIR=$LLVM_BUILD_DIR/lib \
126126 LLVM_SYSPATH=$LLVM_BUILD_DIR \
127- pip install -e python
127+ pip install -e .
128128
129129# Tips for building
130130
@@ -139,7 +139,7 @@ arbitrary LLVM version.
139139 can be changed anytime.
140140
141141- If you're running out of memory when building Triton, specify the ` MAX_JOBS `
142- environment variable (to the ` pip install -e python ` command) to limit the
142+ environment variable (to the ` pip install -e . ` command) to limit the
143143 number of jobs.
144144
145145- Pass ` --no-build-isolation ` to ` pip install ` to make nop builds faster.
@@ -150,7 +150,7 @@ arbitrary LLVM version.
150150 (probably because, in our build, users don't invoke cmake directly, but
151151 instead use setup.py). Teach vscode how to compile Triton as follows.
152152
153- - Do a local build. Run command ` pip install -e python `
153+ - Do a local build. Run command ` pip install -e . `
154154 - Get the full path to the ` compile_commands.json ` file produced by the build:
155155 ` find python/build -name 'compile_commands.json' | xargs readlink -f ` .
156156 You might get a full path similar to ` /Users/{username}/triton/python/build/cmake.macosx-11.1-arm64-cpython-3.12/compile_commands.json `
0 commit comments