Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
doc: fix borken links
[simgrid.git] / setup.py
index f3b07d5..37af4d2 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -30,8 +30,8 @@ class CMakeBuild(build_ext):
         try:
             out = subprocess.check_output(['cmake', '--version'])
         except OSError:
-            raise RuntimeError("CMake must be installed to build the following extensions: " +
-                               ", ".join(e.name for e in self.extensions))
+            raise RuntimeError("CMake must be installed to build python bindings of SimGrid")
+        
         if not os.path.exists("MANIFEST.in"):
             raise RuntimeError("Please generate a MANIFEST.in file (configure simgrid, and copy it here if you build out of tree)")
 
@@ -74,16 +74,21 @@ class CMakeBuild(build_ext):
 
 setup(
     name='simgrid',
-    version='3.22.2',
+    version='3.23.1',
     author='Da SimGrid Team',
     author_email='simgrid-devel@lists.gforge.inria.fr',
     description='Toolkit for scalable simulation of distributed applications',
     long_description=("SimGrid is a scientific instrument to study the behavior of "
                       "large-scale distributed systems such as Grids, Clouds, HPC or P2P "
                       "systems. It can be used to evaluate heuristics, prototype applications "
-                      "or even assess legacy MPI applications."),
+                      "or even assess legacy MPI applications.\n\n"
+                      "This package contains a native library. Please install cmake, boost, pybind11 and a "
+                      "C++ compiler before using pip3. On Debian/Ubuntu, this is as easy as\n"
+                      "sudo apt install cmake libboost-dev pybind11-dev g++ gcc"),
     ext_modules=[CMakeExtension('simgrid')],
     cmdclass=dict(build_ext=CMakeBuild),
+    install_requires=['pybind11>=2.3'],
+    setup_requires=['pybind11>=2.3'],
     zip_safe=False,
     classifiers=[
       "Development Status :: 4 - Beta",