Skip to content
Snippets Groups Projects
Commit e2d03359 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Update pip installation note

parent 1fe60594
No related branches found
No related tags found
No related merge requests found
Pipeline #12992 passed with warnings
...@@ -17,7 +17,7 @@ purposes. ...@@ -17,7 +17,7 @@ purposes.
Installation and usage Installation and usage
---------------------- ----------------------
pip install km3net_testdata pip install km3net-testdata
The file paths can be access in Python scripts using the ``data_path()`` function: The file paths can be access in Python scripts using the ``data_path()`` function:
...@@ -27,6 +27,9 @@ The file paths can be access in Python scripts using the ``data_path()`` functio ...@@ -27,6 +27,9 @@ The file paths can be access in Python scripts using the ``data_path()`` functio
filename = data_path("km3net_offline.root") filename = data_path("km3net_offline.root")
Notice the underscore in the Python package name (PyPI forces ``-`` but Python
package names are not allowed to use ``-``).
To use the module in e.g. shell scripts, the module can be called directly and To use the module in e.g. shell scripts, the module can be called directly and
print the filepath: print the filepath:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment