X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9dab7bd81d52d36fb8fda412f029aed28806d07..b78aacd6ff23788d7efbe43021b2c5c8d053c994:/setup.py diff --git a/setup.py b/setup.py index fc71720008..8cb8287810 100755 --- 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.23', + 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 and a " + "C++ compiler before using pip. On Debian/Ubuntu, this is as easy as\n" + "sudo apt install g++ gcc cmake libboost-all-dev"), 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",