Exemplo n.º 1
0
include_dirs = ['include', 'src'] + qt_include

libraries = [
    'dispatcheraccess', 'dispatchertf', 'Qt5Core', 'Qt5Gui',
    ('helpers', {
        'language': 'c++',
        'sources': ['src/helpers.cpp'],
        'depends': ['src/helpers.h'],
        'include_dirs': include_dirs
    })
]

setup(install_requires=['numpy'],
      name=DISTNAME,
      version=hooks.get_version(DISTNAME, VERSION),
      packages=[DISTNAME, 'qubicpack'],
      package_data={DISTNAME: ['data/*']},
      zip_safe=False,
      author=AUTHOR,
      author_email=AUTHOR_EMAIL,
      maintainer=MAINTAINER,
      maintainer_email=MAINTAINER_EMAIL,
      description=DESCRIPTION,
      license=LICENSE,
      url=URL,
      download_url=DOWNLOAD_URL,
      long_description=long_description,
      classifiers=[
          'Development Status :: 3 - Alpha', 'Environment :: Console',
          'Intended Audience :: Developers',
Exemplo n.º 2
0
hooks.F90_COMPILE_ARGS_IFORT += ['-align norecords', '-g']
if sys.platform == 'darwin':
    hooks.F77_COMPILE_OPT_GFORTRAN = ['-O2']
    hooks.F90_COMPILE_OPT_GFORTRAN = ['-O2']

ext_modules = [
    Extension('qubic._flib',
              sources=['src/polarization.f90.src', 'src/xpol.f90'],
              include_dirs=['.', np.get_include()],
              libraries=['gomp', ('fmod', {
                  'sources': ['src/wig3j.f']
              })])
]

setup(name=name,
      version=hooks.get_version(name, VERSION),
      description='Simulation and map-making tools for the QUBIC experiment.',
      long_description=long_description,
      url='',
      author='Pierre Chanial',
      author_email='*****@*****.**',
      install_requires=[
          'progressbar', 'pyoperators>=0.13.2', 'pysimulators>=1.0.8',
          'healpy>=0.6.1', 'pyYAML'
      ],
      packages=[
          'qubic', 'qubic/calfiles', 'qubic/data', 'qubic/io', 'qubic/dicts'
      ],
      package_data={
          'qubic': ['calfiles/*', 'data/*', 'scripts/*py', 'dicts/*.dict']
      },
Exemplo n.º 3
0
ext_modules = [
    Extension('pysimulators._flib',
              sources=[
                  'src/datautils.f90.src', 'src/geometry.f90',
                  'src/operators.f90.src', 'src/pointingmatrix_old.f90',
                  'src/projection.f90.src', 'src/sparse.f90.src',
                  'src/wcsutils.f90'
              ],
              define_macros=define_macros,
              include_dirs=[np.get_include(), mod_dir],
              libraries=[flib])
]

setup(name=name,
      version=get_version(name, VERSION),
      description='Tools to build an instrument model.',
      long_description=long_description,
      url='http://pchanial.github.com/pysimulators',
      author='Pierre Chanial',
      author_email='*****@*****.**',
      maintainer='Pierre Chanial',
      maintainer_email='*****@*****.**',
      install_requires=['pyoperators>=0.12.15', 'astropy>=0.3.2'],
      packages=[
          'pysimulators', 'pysimulators/interfaces',
          'pysimulators/interfaces/healpy', 'pysimulators/interfaces/madmap1',
          'pysimulators/packedtables'
      ],
      platforms=platforms.split(','),
      keywords=keywords.split(','),
Exemplo n.º 4
0
name = 'pyoperators'
long_description = open('README.rst').read()
keywords = 'scientific computing'
platforms = 'MacOS X,Linux,Solaris,Unix,Windows'
define_macros = [] if sys.version_info.major == 2 else [('NPY_PY3K', None)]

ext_modules = [Extension("pyoperators.utils.cythonutils",
                         sources=["pyoperators/utils/cythonutils.pyx"],
                         include_dirs=[np.get_include()]),
               Extension("pyoperators.utils.ufuncs",
                         sources=["pyoperators/utils/ufuncs.c.src"],
                         define_macros=define_macros)]

setup(name=name,
      version=get_version(name, VERSION),
      description='Operators and solvers for high-performance computing.',
      long_description=long_description,
      url='http://pchanial.github.com/pyoperators',
      author='Pierre Chanial',
      author_email='*****@*****.**',
      maintainer='Pierre Chanial',
      maintainer_email='*****@*****.**',
      requires=['numpy(>=1.6)',
                'scipy(>=0.9)',
                'pyfftw'],
      install_requires=['numexpr>2'],
      packages=['pyoperators', 'pyoperators.iterative', 'pyoperators.utils'],
      platforms=platforms.split(','),
      keywords=keywords.split(','),
      cmdclass=get_cmdclass(),
Exemplo n.º 5
0
hooks.F90_COMPILE_ARGS_GFORTRAN += ['-fpack-derived -g']
hooks.F90_COMPILE_ARGS_IFORT += ['-align norecords -g']
if sys.platform == 'darwin':
    hooks.F77_COMPILE_OPT_GFORTRAN = ['-O2']
    hooks.F90_COMPILE_OPT_GFORTRAN = ['-O2']


ext_modules = [Extension('qubic._flib',
                         sources=['src/polarization.f90.src',
                                  'src/xpol.f90'],
                         include_dirs=['.', np.get_include()],
                         libraries=['gomp',
                                    ('fmod', {'sources': ['src/wig3j.f']})])]

setup(name=name,
      version=hooks.get_version(name, VERSION),
      description='Simulation and map-making tools for the QUBIC experiment.',
      long_description=long_description,
      url='',
      author='Pierre Chanial',
      author_email='*****@*****.**',
      install_requires=['progressbar',
                        'pyoperators>=0.13.2',
                        'pysimulators>=1.0.8',
                        'healpy>=0.6.1',
                        'pyYAML'],
      packages=['qubic', 'qubic/calfiles', 'qubic/data', 'qubic/io'],
      package_data={'qubic': ['calfiles/*', 'data/*', 'scripts/*py']},
      platforms=platforms.split(','),
      keywords=keywords.split(','),
      cmdclass=hooks.get_cmdclass(),