Skip to content
Snippets Groups Projects
Select Git revision
  • ce2a6e95ca14a0352a0b14880d2eb84abedd132f
  • master default protected
  • control-single-hba-and-lba
  • L2SS-2408-protect-standby
  • L2SS-2407-swap-iers-caltable-monitoring-port
  • L2SS-2357-fix-ruff
  • sync-up-with-meta-pypcc
  • stabilise-landing-page
  • all-stations-lofar2
  • v0.39.7-backports
  • Move-sdptr-to-v1.5.0
  • fix-build-ubuntu
  • tokens-in-env-files
  • fix-build
  • L2SS-2214-deploy-cdb
  • fix-missing-init
  • add-power-hardware-apply
  • L2SS-2129-Add-Subrack-Routine
  • Also-listen-internal-to-rpc
  • fix-build-dind
  • L2SS-2153--Improve-Error-Handling
  • v0.52.3-r2 protected
  • remove-snmp-client
  • v0.52.3 protected
  • v0.52.3dev0 protected
  • 0.53.1dev0
  • v0.52.2-rc3 protected
  • v0.52.2-rc2 protected
  • v0.52.2-rc1 protected
  • v0.52.1.1 protected
  • v0.52.1 protected
  • v0.52.1-rc1 protected
  • v0.51.9-6 protected
  • v0.51.9-5 protected
  • v0.51.9-4 protected
  • v0.51.9-3 protected
  • v0.51.9-2 protected
  • v0.51.9-1 protected
  • v0.51.9 protected
  • v0.51.8 protected
  • v0.39.15-wsrttwo protected
41 results

Dockerfile

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    setup.py 1.41 KiB
    from __future__ import print_function
    from setuptools import setup, Command
    import os
    import lsmtool._version
    
    
    description = 'The LOFAR Local Sky Model Tool'
    long_description = description
    if os.path.exists('README.md'):
        with open('README.md') as f:
            long_description=f.read()
    
    
    class PyTest(Command):
        user_options = []
        def initialize_options(self):
            pass
    
        def finalize_options(self):
            pass
    
        def run(self):
            import sys,subprocess
            errno = subprocess.call([sys.executable, 'runtests.py'])
            raise SystemExit(errno)
    
    
    setup(
        name='lsmtool',
        version=lsmtool._version.__version__,
        url='http://github.com/darafferty/lsmtool/',
        author='David Rafferty',
        author_email='drafferty@hs.uni-hamburg.de',
        description=description,
        long_description=long_description,
        platforms='any',
        classifiers = [
            'Programming Language :: Python',
            'Development Status :: 4 - Beta',
            'Natural Language :: English',
            'Intended Audience :: Science/Research',
            'Operating System :: POSIX :: Linux',
            'Topic :: Scientific/Engineering :: Astronomy',
            'Topic :: Software Development :: Libraries :: Python Modules',
            ],
        install_requires=['numpy','astropy >= 0.4'],
        scripts = ['bin/lsmtool'],
        packages=['lsmtool','lsmtool.operations'],
        setup_requires = ['pytest-runner'],
        tests_require = ['pytest']
        )