Skip to content
Snippets Groups Projects
Select Git revision
  • fb07b4f87eb1d2dfff5ed521ea60e22fb57626ec
  • master default protected
  • L2SS-1914-fix_job_dispatch
  • TMSS-3170
  • TMSS-3167
  • TMSS-3161
  • TMSS-3158-Front-End-Only-Allow-Changing-Again
  • TMSS-3133
  • TMSS-3319-Fix-Templates
  • test-fix-deploy
  • TMSS-3134
  • TMSS-2872
  • defer-state
  • add-custom-monitoring-points
  • TMSS-3101-Front-End-Only
  • TMSS-984-choices
  • SDC-1400-Front-End-Only
  • TMSS-3079-PII
  • TMSS-2936
  • check-for-max-244-subbands
  • TMSS-2927---Front-End-Only-PXII
  • Before-Remove-TMSS
  • LOFAR-Release-4_4_318 protected
  • LOFAR-Release-4_4_317 protected
  • LOFAR-Release-4_4_316 protected
  • LOFAR-Release-4_4_315 protected
  • LOFAR-Release-4_4_314 protected
  • LOFAR-Release-4_4_313 protected
  • LOFAR-Release-4_4_312 protected
  • LOFAR-Release-4_4_311 protected
  • LOFAR-Release-4_4_310 protected
  • LOFAR-Release-4_4_309 protected
  • LOFAR-Release-4_4_308 protected
  • LOFAR-Release-4_4_307 protected
  • LOFAR-Release-4_4_306 protected
  • LOFAR-Release-4_4_304 protected
  • LOFAR-Release-4_4_303 protected
  • LOFAR-Release-4_4_302 protected
  • LOFAR-Release-4_4_301 protected
  • LOFAR-Release-4_4_300 protected
  • LOFAR-Release-4_4_299 protected
41 results

t_radb.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    setup.py 1.54 KiB
    import os, glob
    from setuptools import setup
    
    
    # Functions read() was copied from Pip package.
    def read(rel_path):
        here = os.path.abspath(os.path.dirname(__file__))
        # intentionally *not* adding an encoding option to open, See:
        #   https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
        with open(os.path.join(here, rel_path), 'r') as fp:
            return fp.read()
    
    
    data_files = []
    for top in ('rfistrategies', 'skymodels', 'solutions', 'steps', 'workflows'):
        for root, _, files in os.walk(top):
            data_files.append(
                (os.path.join('share', 'linc', root), [os.path.join(root, f) for f in files])
            )
    
    setup(
        name='LINC',
        version='4.0',
        description='LINC: The LOFAR Initial Calibration pipeline.',
        long_description=read("README.md"),
        long_description_content_type='text/markdown',
        url='https://git.astron.nl/RD/LINC',
        license='GNU GPL 3',
        classifiers=[
            'Programming Language :: Python :: 3',
            'Development Status :: 3 - Alpha',
            'Natural Language :: English',
            'Intended Audience :: Science/Research',
            'Operating System :: POSIX :: Linux',
            'Topic :: Scientific/Engineering :: Astronomy'],
        platforms='any',
        install_requires=[
            'aplpy', 'astropy', 'bdsf', 'h5py', 'losoto==2.2.1', 'lsmtool',
            'matplotlib', 'numpy<1.23.0', 'python-casacore', 'RMextract', 'scipy'],
        scripts=glob.glob('scripts/*'),
        data_files=data_files,
        # explicitly declare packages so setuptools does not attempt auto discovery
        packages=[]
    )