Skip to content

Commit d6f360f

Browse files
docs update
1 parent d2f8e5b commit d6f360f

File tree

8 files changed

+165
-25
lines changed

8 files changed

+165
-25
lines changed
599 Bytes
Binary file not shown.
4.35 KB
Binary file not shown.

docs_1/build/html/_modules/idpet/comparison.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88
<title>idpet.comparison &mdash; IDPET 0.1.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
11+
<link rel="stylesheet" type="text/css" href="../../_static/sphinx-design.min.css?v=95c83b7e" />
1112

1213

1314
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1415
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
1516
<script src="../../_static/documentation_options.js?v=01f34227"></script>
1617
<script src="../../_static/doctools.js?v=9bcbadda"></script>
1718
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
19+
<script src="../../_static/design-tabs.js?v=f930bc37"></script>
1820
<script src="../../_static/js/theme.js"></script>
1921
<link rel="index" title="Index" href="../../genindex.html" />
2022
<link rel="search" title="Search" href="../../search.html" />

docs_1/build/html/_modules/idpet/visualization.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88
<title>idpet.visualization &mdash; IDPET 0.1.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
11+
<link rel="stylesheet" type="text/css" href="../../_static/sphinx-design.min.css?v=95c83b7e" />
1112

1213

1314
<script src="../../_static/jquery.js?v=5d32c60e"></script>
1415
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
1516
<script src="../../_static/documentation_options.js?v=01f34227"></script>
1617
<script src="../../_static/doctools.js?v=9bcbadda"></script>
1718
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
19+
<script src="../../_static/design-tabs.js?v=f930bc37"></script>
1820
<script src="../../_static/js/theme.js"></script>
1921
<link rel="index" title="Index" href="../../genindex.html" />
2022
<link rel="search" title="Search" href="../../search.html" />
Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,77 @@
11
Installation
22
============
33

4+
We recommend installing IDPET in a clean virtual environment to avoid package conflicts. Below are step-by-step instructions for installation using either `venv` or `conda`, along with important setup notes for MDTraj.
45

56
Install using pip
67
-----------------
78

89
To install IDPET using pip, follow these steps:
910

11+
Step 1: (Recommended) Create a virtual environment
12+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1013

11-
Step 1: Install MDTraj
12-
~~~~~~~~~~~~~~~~~~~~~~
14+
**Using venv (standard Python):**
1315

14-
IDPET is built on top of `MDTraj <https://mdtraj.org/>`_. As MDTraj can have compatibility issues on Windows OS, we recommend installing it using conda. This step can be omitted when using Linux.
16+
.. code-block:: bash
1517
16-
.. code-block:: shell
18+
python -m venv idpet-env
19+
20+
# Activate the environment
21+
# On Linux/macOS:
22+
source idpet-env/bin/activate
23+
# On Windows:
24+
idpet-env\Scripts\activate
25+
26+
# Upgrade pip
27+
pip install --upgrade pip
28+
29+
**Using conda:**
30+
31+
.. code-block:: bash
32+
33+
conda create -n idpet-env python=3.9 -y
34+
conda activate idpet-env
35+
36+
Step 2: Install MDTraj (required)
37+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38+
39+
IDPET is built on top of `MDTraj <https://mdtraj.org/>`_. Since MDTraj can have compatibility issues on Windows, we recommend installing it via `conda`:
40+
41+
.. code-block:: bash
1742
1843
conda install -c conda-forge mdtraj
1944
20-
Step 2: Install IDPET
45+
This step is **optional on Linux**, but still safe and recommended to avoid binary issues.
46+
47+
Step 3: Install IDPET
2148
~~~~~~~~~~~~~~~~~~~~~
2249

23-
Finally, you can install IDPET using pip.
50+
With your environment active and MDTraj installed, you can now install IDPET from PyPI:
2451

25-
.. code-block:: shell
52+
.. code-block:: bash
2653
2754
pip install idpet
2855
56+
To verify the installation:
57+
58+
.. code-block:: python
59+
60+
import idpet
61+
print(idpet.__version__)
62+
63+
Developer installation (optional)
64+
---------------------------------
65+
66+
If you wish to contribute to IDPET or work with the source code, you can install it in editable mode:
67+
68+
.. code-block:: bash
69+
70+
git clone https://github.com/hamidrgh/idpet.git
71+
cd idpet
72+
pip install -e .
73+
74+
This will install IDPET in "editable" mode so any local changes take effect immediately.
75+
76+
2977

docs_1/build/html/installation.html

Lines changed: 50 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@
4949
<li class="toctree-l1"><a class="reference internal" href="overview.html">Overview</a></li>
5050
<li class="toctree-l1 current"><a class="current reference internal" href="#">Installation</a><ul>
5151
<li class="toctree-l2"><a class="reference internal" href="#install-using-pip">Install using pip</a><ul>
52-
<li class="toctree-l3"><a class="reference internal" href="#step-1-install-mdtraj">Step 1: Install MDTraj</a></li>
53-
<li class="toctree-l3"><a class="reference internal" href="#step-2-install-idpet">Step 2: Install IDPET</a></li>
52+
<li class="toctree-l3"><a class="reference internal" href="#step-1-recommended-create-a-virtual-environment">Step 1: (Recommended) Create a virtual environment</a></li>
53+
<li class="toctree-l3"><a class="reference internal" href="#step-2-install-mdtraj-required">Step 2: Install MDTraj (required)</a></li>
54+
<li class="toctree-l3"><a class="reference internal" href="#step-3-install-idpet">Step 3: Install IDPET</a></li>
5455
</ul>
5556
</li>
57+
<li class="toctree-l2"><a class="reference internal" href="#developer-installation-optional">Developer installation (optional)</a></li>
5658
</ul>
5759
</li>
5860
<li class="toctree-l1"><a class="reference internal" href="demo.html">Demo</a></li>
@@ -89,23 +91,61 @@
8991

9092
<section id="installation">
9193
<h1>Installation<a class="headerlink" href="#installation" title="Link to this heading"></a></h1>
94+
<p>We recommend installing IDPET in a clean virtual environment to avoid package conflicts. Below are step-by-step instructions for installation using either <cite>venv</cite> or <cite>conda</cite>, along with important setup notes for MDTraj.</p>
9295
<section id="install-using-pip">
9396
<h2>Install using pip<a class="headerlink" href="#install-using-pip" title="Link to this heading"></a></h2>
9497
<p>To install IDPET using pip, follow these steps:</p>
95-
<section id="step-1-install-mdtraj">
96-
<h3>Step 1: Install MDTraj<a class="headerlink" href="#step-1-install-mdtraj" title="Link to this heading"></a></h3>
97-
<p>IDPET is built on top of <a class="reference external" href="https://mdtraj.org/">MDTraj</a>. As MDTraj can have compatibility issues on Windows OS, we recommend installing it using conda. This step can be omitted when using Linux.</p>
98-
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>conda<span class="w"> </span>install<span class="w"> </span>-c<span class="w"> </span>conda-forge<span class="w"> </span>mdtraj
98+
<section id="step-1-recommended-create-a-virtual-environment">
99+
<h3>Step 1: (Recommended) Create a virtual environment<a class="headerlink" href="#step-1-recommended-create-a-virtual-environment" title="Link to this heading"></a></h3>
100+
<p><strong>Using venv (standard Python):</strong></p>
101+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>-m<span class="w"> </span>venv<span class="w"> </span>idpet-env
102+
103+
<span class="c1"># Activate the environment</span>
104+
<span class="c1"># On Linux/macOS:</span>
105+
<span class="nb">source</span><span class="w"> </span>idpet-env/bin/activate
106+
<span class="c1"># On Windows:</span>
107+
idpet-env<span class="se">\S</span>cripts<span class="se">\a</span>ctivate
108+
109+
<span class="c1"># Upgrade pip</span>
110+
pip<span class="w"> </span>install<span class="w"> </span>--upgrade<span class="w"> </span>pip
99111
</pre></div>
100112
</div>
113+
<p><strong>Using conda:</strong></p>
114+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>conda<span class="w"> </span>create<span class="w"> </span>-n<span class="w"> </span>idpet-env<span class="w"> </span><span class="nv">python</span><span class="o">=</span><span class="m">3</span>.9<span class="w"> </span>-y
115+
conda<span class="w"> </span>activate<span class="w"> </span>idpet-env
116+
</pre></div>
117+
</div>
118+
</section>
119+
<section id="step-2-install-mdtraj-required">
120+
<h3>Step 2: Install MDTraj (required)<a class="headerlink" href="#step-2-install-mdtraj-required" title="Link to this heading"></a></h3>
121+
<p>IDPET is built on top of <a class="reference external" href="https://mdtraj.org/">MDTraj</a>. Since MDTraj can have compatibility issues on Windows, we recommend installing it via <cite>conda</cite>:</p>
122+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>conda<span class="w"> </span>install<span class="w"> </span>-c<span class="w"> </span>conda-forge<span class="w"> </span>mdtraj
123+
</pre></div>
124+
</div>
125+
<p>This step is <strong>optional on Linux</strong>, but still safe and recommended to avoid binary issues.</p>
101126
</section>
102-
<section id="step-2-install-idpet">
103-
<h3>Step 2: Install IDPET<a class="headerlink" href="#step-2-install-idpet" title="Link to this heading"></a></h3>
104-
<p>Finally, you can install IDPET using pip.</p>
105-
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>idpet
127+
<section id="step-3-install-idpet">
128+
<h3>Step 3: Install IDPET<a class="headerlink" href="#step-3-install-idpet" title="Link to this heading"></a></h3>
129+
<p>With your environment active and MDTraj installed, you can now install IDPET from PyPI:</p>
130+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>idpet
106131
</pre></div>
107132
</div>
133+
<p>To verify the installation:</p>
134+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">idpet</span>
135+
<span class="nb">print</span><span class="p">(</span><span class="n">idpet</span><span class="o">.</span><span class="n">__version__</span><span class="p">)</span>
136+
</pre></div>
137+
</div>
138+
</section>
108139
</section>
140+
<section id="developer-installation-optional">
141+
<h2>Developer installation (optional)<a class="headerlink" href="#developer-installation-optional" title="Link to this heading"></a></h2>
142+
<p>If you wish to contribute to IDPET or work with the source code, you can install it in editable mode:</p>
143+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/hamidrgh/idpet.git
144+
<span class="nb">cd</span><span class="w"> </span>idpet
145+
pip<span class="w"> </span>install<span class="w"> </span>-e<span class="w"> </span>.
146+
</pre></div>
147+
</div>
148+
<p>This will install IDPET in “editable” mode so any local changes take effect immediately.</p>
109149
</section>
110150
</section>
111151

docs_1/build/html/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs_1/source/installation.rst

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,77 @@
11
Installation
22
============
33

4+
We recommend installing IDPET in a clean virtual environment to avoid package conflicts. Below are step-by-step instructions for installation using either `venv` or `conda`, along with important setup notes for MDTraj.
45

56
Install using pip
67
-----------------
78

89
To install IDPET using pip, follow these steps:
910

11+
Step 1: (Recommended) Create a virtual environment
12+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1013

11-
Step 1: Install MDTraj
12-
~~~~~~~~~~~~~~~~~~~~~~
14+
**Using venv (standard Python):**
1315

14-
IDPET is built on top of `MDTraj <https://mdtraj.org/>`_. As MDTraj can have compatibility issues on Windows OS, we recommend installing it using conda. This step can be omitted when using Linux.
16+
.. code-block:: bash
1517
16-
.. code-block:: shell
18+
python -m venv idpet-env
19+
20+
# Activate the environment
21+
# On Linux/macOS:
22+
source idpet-env/bin/activate
23+
# On Windows:
24+
idpet-env\Scripts\activate
25+
26+
# Upgrade pip
27+
pip install --upgrade pip
28+
29+
**Using conda:**
30+
31+
.. code-block:: bash
32+
33+
conda create -n idpet-env python=3.9 -y
34+
conda activate idpet-env
35+
36+
Step 2: Install MDTraj (required)
37+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38+
39+
IDPET is built on top of `MDTraj <https://mdtraj.org/>`_. Since MDTraj can have compatibility issues on Windows, we recommend installing it via `conda`:
40+
41+
.. code-block:: bash
1742
1843
conda install -c conda-forge mdtraj
1944
20-
Step 2: Install IDPET
45+
This step is **optional on Linux**, but still safe and recommended to avoid binary issues.
46+
47+
Step 3: Install IDPET
2148
~~~~~~~~~~~~~~~~~~~~~
2249

23-
Finally, you can install IDPET using pip.
50+
With your environment active and MDTraj installed, you can now install IDPET from PyPI:
2451

25-
.. code-block:: shell
52+
.. code-block:: bash
2653
2754
pip install idpet
2855
56+
To verify the installation:
57+
58+
.. code-block:: python
59+
60+
import idpet
61+
print(idpet.__version__)
62+
63+
Developer installation (optional)
64+
---------------------------------
65+
66+
If you wish to contribute to IDPET or work with the source code, you can install it in editable mode:
67+
68+
.. code-block:: bash
69+
70+
git clone https://github.com/hamidrgh/idpet.git
71+
cd idpet
72+
pip install -e .
73+
74+
This will install IDPET in "editable" mode so any local changes take effect immediately.
75+
76+
2977

0 commit comments

Comments
 (0)