You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/details.rst
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,4 @@ Key insights:
118
118
119
119
.. note:: Since the publication of the paper, the Radius Clustering package has been improved and optimized. The results presented here are based on the initial version of the package. For the latest results, please refer to the documentation or the source code.
Copy file name to clipboardExpand all lines: docs/source/installation.rst
+84-7Lines changed: 84 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,12 @@ There are different ways to install Radius Clustering:
10
10
11
11
* :ref:`From the source <installation-source>`. This is best for users who want the latest features and are comfortable building from source. This is also needed if you want to contribute to the project.
12
12
13
+
.. warning::
14
+
15
+
Radius Clustering is currently not available on PyPI, pending the organization acceptance on PyPI. You can install the package from the source by following the :ref:`instructions <installation-source>`.
16
+
Please notice that the compilation stage require a C and C++ compiler toolchain to be installed on your system.
Install Python 3 using `homebrew <https://brew.sh/>`_ (`brew install python`)
71
75
or by manually installing the package from the `official website
@@ -91,6 +95,7 @@ Installing from PyPI
91
95
92
96
.. tab-item:: Linux
93
97
:class-label: tab-4
98
+
:sync: linux
94
99
95
100
Python 3 is usually installed by default on most Linux distributions. To
96
101
check if you have it installed, try:
@@ -143,12 +148,84 @@ a Raspberry Pi).
143
148
Installing from the source
144
149
--------------------------
145
150
146
-
To install Radius Clustering from the source, you need to clone the repository and
151
+
Compiler Requirements
152
+
~~~~~~~~~~~~~~~~~~~~~
153
+
154
+
To install Radius Clustering from the source, you need to have a C and C++ compiler and their respective toolchains installed on your system, depending on your operating system.
Install the correct version of Microsoft Visual C++ Build Tools for your Python version from the `official website <https://visualstudio.microsoft.com/visual-cpp-build-tools/>`__.
182
+
183
+
In Build Tools, install C++ toolchain. Ensure that it is added to the system PATH.
184
+
You are now ready to install Radius Clustering from source.
185
+
186
+
.. tab-item:: MacOS
187
+
:class-label: tab-4
188
+
:sync: macos
189
+
190
+
Normally, you should have the necessary tools installed on your system as it comes with Xcode Command Line Tools, which is included when you first install Homebrew or Xcode.
191
+
To check if you have the necessary tools installed, try:
192
+
193
+
.. prompt:: bash
194
+
195
+
gcc --version
196
+
g++ --version
197
+
198
+
If you don't have the necessary tools installed, you can install them directly from the App Store by getting Xcode. You may also be interested in installing Homebrew. See this `tutorial <https://www.moncefbelyamani.com/how-to-install-xcode-with-homebrew/>`__ for more information.
199
+
200
+
.. tab-item:: Linux
201
+
:class-label: tab-4
202
+
:sync: linux
203
+
204
+
Normally, you should have the necessary tools installed on your system. To check if you have the necessary tools installed, try:
205
+
206
+
.. prompt:: bash
207
+
208
+
gcc --version
209
+
g++ --version
210
+
211
+
If you don't have the necessary tools installed, you can install them using your distribution's package manager. For instance, on Ubuntu, you can install them by running:
212
+
213
+
.. prompt:: bash
214
+
215
+
sudo apt-get update
216
+
sudo apt-get install build-essential
217
+
218
+
219
+
Installing Radius Clustering
220
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221
+
222
+
Now you have installed compilers toolchains requirements, you can build and install `radius-clustering` from the sources. You need to clone the repository and
147
223
install the package using the following commands:
148
224
149
225
.. prompt:: bash
150
226
151
-
cd /path/to/your/folder
227
+
git clone [email protected]:lias-laboratory/radius_clustering.git # clone the repository
0 commit comments