Skip to content
Snippets Groups Projects
Select Git revision
  • b8c57dfef7cd3f03dafadd8cbdf96a47945f0096
  • main default protected
  • CICD_Fix_kr
  • Kelvinrr-patch-2
  • Kelvinrr-patch-1
  • docs_workflow
  • read_gpf_changelog
  • read_gpf_gxp_hybrid
  • ci_py_version
  • 1.6.0
  • v1.5.5
  • v1.5.4
  • v1.5.3
  • v1.5.2
  • v1.5.0
  • v1.5.1
  • v1.4.0
  • v1.3.0
  • 1.2.5
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.0
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0
27 results

setup.py

Blame
  • setup.py 1.45 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()
    
    def setup_package():
        setup(
            name = "plio",
            version = '1.5.2',
            author = "USGS Astrogeology",
            author_email = "jlaura@usgs.gov",
            description = ("I/O API to support planetary data formats."),
            long_description = long_description,
            license = "Public Domain",
            keywords = "planetary io",
            url = "http://packages.python.org/plio",
            packages=find_packages(),
            include_package_data=True,
            package_data={'plio' : ['sqlalchemy_json/*.py', 'sqlalchemy_json/LICENSE']},
            zip_safe=True,
            scripts=['bin/socetnet2isis', 'bin/isisnet2socet'],
            install_requires=[
                'numpy',
                'pyproj',
                'pvl',
                'h5py',
                'protobuf',
                'pandas',
                'sqlalchemy',
                'pyyaml',
                'networkx',
                'affine',
                'scipy'],
            extras_require={'io_gdal' : "gdal"},
            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',
            ],
        )
    
    if __name__ == '__main__':
        setup_package()