Python C extension to compute the permanent.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

19 linhas
560B

  1. #!/usr/bin/env python
  2. from distutils.core import setup, Extension
  3. setup(name = "loqcmath",
  4. version = "1.0",
  5. description = "Fast maths for LOQC",
  6. author = "Pete Shadbolt",
  7. author_email = "pete.shadbolt@gmail.com",
  8. maintainer = "pete.shadbolt@gmail.com",
  9. url = "https://www.peteshadbolt.co.uk",
  10. ext_modules = [
  11. Extension(
  12. 'perm_c', ['src/perm_c'],
  13. extra_compile_args=["-Ofast", "-march=native"]),
  14. ],
  15. )