Skip to content

Commit 7067acf

Browse files
committed
The Profiling section should not be a subsection of PyPI installation
1 parent 0d39f2f commit 7067acf

1 file changed

Lines changed: 9 additions & 16 deletions

File tree

doc/installation.rst

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,6 @@ environment-varirable `LD_LIBRARY_PATH`.
7676
Note that generally the pysam and htslib version need to be
7777
compatible. See the release notes for more information.
7878

79-
Profiling
80-
---------
81-
82-
Pysam's Cython code is no longer built with Python profiling enabled by default.
83-
Profiling can be enabled when building it yourself from source by setting the
84-
environment variable `PYSAM_PROFILE`::
85-
86-
export PYSAM_PROFILE=1
87-
pip install --no-binary pysam pysam
88-
89-
Note that when installing via pip you will need to use ``--no-binary pysam`` to
90-
ensure pip does not simply install a pre-built wheel.
91-
9279
Installation from repository
9380
============================
9481

@@ -117,9 +104,15 @@ the htslib/INSTALL file.
117104

118105
Installing from the repository will require cython_ to be installed.
119106

107+
Profiling
108+
=========
120109

110+
Pysam's Cython code is no longer built with Python profiling enabled by default.
111+
Profiling can be enabled when building it yourself from source by setting the
112+
environment variable `PYSAM_PROFILE`, for example::
121113

114+
export PYSAM_PROFILE=1
115+
pip install --no-binary pysam pysam
122116

123-
124-
125-
117+
Note that when installing via pip you will need to use ``--no-binary pysam`` to
118+
ensure pip does not simply install a pre-built wheel.

0 commit comments

Comments
 (0)