Skip to content
Snippets Groups Projects
Select Git revision
  • f4f05986f050f6012fc7bc232a71b7efc6d7f350
  • master default protected
  • ia2
  • adql2.1-ia2
  • private_rows
5 results

examples_TAPNotes.html

Blame
    • gmantele's avatar
      f4f05986
      [TAP] New feature: Examples endpoint. · f4f05986
      gmantele authored
      Can be enabled just by providing a file URI in the TAP configuration file using
      the property "examples". It is also possible to add manually a TAP resource
      whose the returned name must be "examples" like the new TAP resource is doing:
      tap.resource.Examples. This latter take a file URI as the TAP configuration
      file does. The referenced file must respect the DALI 1.0 or TAP Notes 1.0
      syntax. No check of the file is performed by the library ; it is up to the
      author of the referenced file (a XHTML/RDFa file) to write a correct "examples"
      endpoint content. Check out the examples provided on the GitHub repository in
      the directory examples/tap/examples_endpoint.
      f4f05986
      History
      [TAP] New feature: Examples endpoint.
      gmantele authored
      Can be enabled just by providing a file URI in the TAP configuration file using
      the property "examples". It is also possible to add manually a TAP resource
      whose the returned name must be "examples" like the new TAP resource is doing:
      tap.resource.Examples. This latter take a file URI as the TAP configuration
      file does. The referenced file must respect the DALI 1.0 or TAP Notes 1.0
      syntax. No check of the file is performed by the library ; it is up to the
      author of the referenced file (a XHTML/RDFa file) to write a correct "examples"
      endpoint content. Check out the examples provided on the GitHub repository in
      the directory examples/tap/examples_endpoint.
    setup.py 1.25 KiB
    import os
    from setuptools import setup, find_packages
    
    #Grab the README.md for the long description
    with open('README.md', 'r') as f:
        long_description = f.read()
    
    __version__ = '0.7.0'
    
    def setup_package():
        setup(
            name = "autocnet",
            version = __version__,
            author = "Jay Laura",
            author_email = "jlaura@usgs.gov",
            description = ("Automated control network generation."),
            long_description = long_description,
            license = "Public Domain",
            keywords = "Multi-image correspondence detection",
            url = "http://packages.python.org/autocnet",
            packages=find_packages(),
            include_package_data=True,
            zip_safe=False,
            install_requires=[],
            classifiers=[
                "Development Status :: 3 - Alpha",
                "Topic :: Utilities",
                "License :: Public Domain",
                'Programming Language :: Python :: 3.6',
                'Programming Language :: Python :: 3.7',
                'Programming Language :: Python :: 3.8',
            ],
            entry_points={"console_scripts": [
            "acn_submit = autocnet.graph.cluster_submit:main",
            "acn_submit_single = autocnet.graph.cluster_submit_single:main"], 
            }
        )
    
    if __name__ == '__main__':
        setup_package()