Skip to content
Snippets Groups Projects
Select Git revision
  • c37f3e36a5752adac6bd9ca9c23a333dc32c2a16
  • 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

tmss_http_rest_client.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    setup.py 1.37 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'],
        cmdclass = {'test': PyTest},
        )