setup.py.in 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # -*- coding: utf-8 -*-
  2. # StarPU --- Runtime system for heterogeneous multicore architectures.
  3. #
  4. # Copyright (C) 2020 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. #
  17. from distutils.core import setup, Extension
  18. starpupy = Extension('starpu.starpupy',
  19. include_dirs = ['@STARPU_SRC_DIR@/include', '@STARPU_BUILD_DIR@/include'],
  20. libraries = ['starpu-@STARPU_EFFECTIVE_VERSION@'],
  21. library_dirs = ['@STARPU_BUILD_DIR@/src/.libs'],
  22. sources = ['starpu/starpu_task_wrapper.c'])
  23. setup(
  24. name = 'starpupy',
  25. version = '0.5',
  26. description = 'Python bindings for StarPU',
  27. author = 'StarPU team',
  28. author_email = 'starpu-devel@lists.gforge.inria.fr',
  29. url = 'https://starpu.gitlabpages.inria.fr/',
  30. license = 'GPL',
  31. platforms = 'posix',
  32. ext_modules = [starpupy],
  33. packages = ['starpu'],
  34. )