diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..c10863ae9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +__pycache__ +.pytest_cache + +python/build/ +python/triton.egg-info/ +python/triton/_C/libtriton.so diff --git a/docs/getting-started/installation.rst b/docs/getting-started/installation.rst index e687cc1da..658276db5 100644 --- a/docs/getting-started/installation.rst +++ b/docs/getting-started/installation.rst @@ -44,6 +44,7 @@ You can then test your installation by running the unit tests: .. code-block:: bash + pip install -r requirements-test.txt pytest -vs . and the benchmarks @@ -51,4 +52,4 @@ and the benchmarks .. code-block:: bash cd bench/ - python -m run --with-plots --result-dir /tmp/triton-bench \ No newline at end of file + python -m run --with-plots --result-dir /tmp/triton-bench diff --git a/python/requirements-test.txt b/python/requirements-test.txt new file mode 100644 index 000000000..4a1b49122 --- /dev/null +++ b/python/requirements-test.txt @@ -0,0 +1 @@ +scipy >= 1.7.1