<commit_before>#!/usr/bin/env python

from __future__ import division, absolute_import, print_function
from numpy.distutils.core import Extension
from os.path import join as pjoin

LIBNUFFT_VERSION = '1.3.2'
LIBNUFFT_SRCDIR = 'extern/libnufft-{}'.format(LIBNUFFT_VERSION)
LIBNUFFT_SRCFILES = [pjoin(LIBNUFFT_SRCDIR, srcfile) for srcfile in
        ('nufft1df90.f', 'nufft2df90.f', 'nufft3df90.f', 'dirft1d.f',
        'dirft2d.f', 'dirft3d.f', 'next235.f', 'dfft.f', 'dfftpack.f')]

ext = Extension(name = "nufft",
                sources = ['nufft.pyf',] + LIBNUFFT_SRCFILES,
                )

if __name__ == "__main__":
    from numpy.distutils.core import setup
    setup(name = "nufftpy",
          description = "Python wrappers for Greengard and Lee's NUFFT",
          author = '<NAME>',
          author_email = '<EMAIL>',
          license='BSD',
          ext_modules = [ext,],
          )<commit_msg>add version string<commit_after>#!/usr/bin/env python

from __future__ import division, absolute_import, print_function
from numpy.distutils.core import Extension
from os.path import join as pjoin

LIBNUFFT_VERSION = '1.3.2'
LIBNUFFT_SRCDIR = 'extern/libnufft-{}'.format(LIBNUFFT_VERSION)
LIBNUFFT_SRCFILES = [pjoin(LIBNUFFT_SRCDIR, srcfile) for srcfile in
        ('nufft1df90.f', 'nufft2df90.f', 'nufft3df90.f', 'dirft1d.f',
        'dirft2d.f', 'dirft3d.f', 'next235.f', 'dfft.f', 'dfftpack.f')]

ext = Extension(name = "nufft",
                sources = ['nufft.pyf',] + LIBNUFFT_SRCFILES,
                )

if __name__ == "__main__":
    from numpy.distutils.core import setup
    setup(name = "nufftpy",
          version = "0.1",
          description = "Python wrappers for Greengard and Lee's NUFFT",
          author = '<NAME>',
          author_email = '<EMAIL>',
          license='BSD',
          ext_modules = [ext,],
          )
{'fraction_non_alphanumeric': 0.1384698275862069, 'fraction_numerical': 0.020474137931034482, 'mean_word_length': 2.9935483870967743, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7496004', 'n_tokens_mistral': 706, 'n_tokens_neox': 692, 'n_words': 138}