Пример #1
0
# Import the modules under this package, to trigger any class
# registering that may be needed

from astrodata import version
__version__ = version()

import astrodata

from . import gemini

from . import bhros
from . import f2
from . import gmos
from . import gnirs
from . import gpi
from . import graces
from . import gsaoi
from . import michelle
from . import nici
from . import nifs
from . import niri
from . import phoenix
from . import oscir
from . import trecs
from . import igrins
from . import flamingos
from . import hokupaa_quirc
from . import hrwfs
from . import cirpass
from . import texes
from . import skycam
Пример #2
0
sys.path.append(dragons_path)

import astrodata

print('\n Printing current working directory for debugging:')
print(' Current working directory: {}'.format(os.getcwd()))
print(' Dragons path: {}\n'.format(dragons_path))

# -- Project information -----------------------------------------------------

project = 'DRAGONS Tutorial<br> GMOS Imaging Data Reduction'
copyright = '2019, Association of Universities for Research in Astronomy'
author = 'Bruno C. Quint, Kathleen Labrie'

# The short X.Y version
version = astrodata.version(short=True)

# The full version, including alpha/beta/rc tags
release = astrodata.version()

# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
needs_sphinx = '1.8'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.doctest',
Пример #3
0
else:
    suffix = 'c'
cyextensions = [Extension(
    "gempy.library.cyclip",
    [os.path.join('gempy', 'library', 'cyclip.' + suffix)],
),
]
if use_cython:
    CYTHON_EXTENSIONS = cythonize(cyextensions)
else:
    CYTHON_EXTENSIONS = cyextensions

EXTENSIONS.extend(CYTHON_EXTENSIONS)

setup(name='dragons',
      version=version(),
      description='Gemini Data Processing Python Package',
      author='Gemini Data Processing Software Group',
      author_email='*****@*****.**',
      url='http://www.gemini.edu',
      maintainer='Science User Support Department',
      packages=PACKAGES,
      package_dir=PACKAGE_DIRS,
      package_data=PACKAGE_DATA,
      data_files=DATA_FILES,
      scripts=SCRIPTS,
      ext_modules=EXTENSIONS,
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Gemini Ops',
          'Intended Audience :: Science/Research',