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)")
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",