Loading autocnet/__init__.py +9 −0 Changes for autocnet/__init__.py: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -9,3 +9,12 @@ def get_data(filename): fullname = os.path.join(dirname, filename) return fullname import autocnet.examples import autocnet.camera import autocnet.cg import autocnet.control import autocnet.graph import autocnet.matcher import autocnet.transformation import autocnet.utils import autocnet.utils No newline at end of file conda/build.sh 0 → 100755 +3 −0 Changes for conda/build.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash $PYTHON setup.py build $PYTHON setup.py install conda/meta.yaml 0 → 100644 +44 −0 Changes for conda/meta.yaml: 44 added lines, 0 removed lines. Original line number Diff line number Diff line package: name: autocnet version: 0.1.0 source: # git_url: https://github.com/USGS-Astrogeology/autocnet.git path: ../ requirements: build: - python - plio - opencv3 3.0.0 - vlfeat - cyvlfeat - pillow - matplotlib - pysal - scipy - networkx - numexpr - dill - cython - pyyaml run: - python - plio - opencv3 3.0.0 - vlfeat - cyvlfeat - pillow - matplotlib - pysal - scipy - networkx - numexpr - dill - cython - pyyaml test: imports: - autocnet - autocnet.graph.network setup.py +49 −42 Changes for setup.py: 49 added lines, 42 removed lines. Original line number Diff line number Diff line #!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup, find_packages import autocnet from autocnet.examples import available #Grab the README.md for the long description with open('README.rst', 'r') as f: long_description = f.read() try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = autocnet.__version__ with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :changelog:', '') requirements = [ # TODO: put package requirements here ] test_requirements = [ # TODO: put package test requirements here ] def setup_package(): examples = set() for i in available(): if not os.path.isdir('plio/examples/' + i): if '.' in i: glob_name = 'examples/*.' + i.split('.')[-1] else: glob_name = 'examples/' + i else: glob_name = 'examples/' + i + '/*' examples.add(glob_name) setup( name='autocnet', version='0.1.0', description="R&D for automated control network generation.", long_description=readme + '\n\n' + history, name = "plio", version = VERSION, author = "Jay Laura", author_email='jlaura@usgs.gov', url='https://github.com/jlaura@usgs.gov/autocnet', packages=[ 'autocnet', ], package_dir={'autocnet': 'autocnet'}, 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/autocnet", packages=find_packages(), include_package_data=True, install_requires=requirements, license="ISCL", package_data={'autocnet' : list(examples)}, zip_safe=False, keywords='autocnet', install_requires=[ 'pandas', 'pyyaml', 'plio', 'cyvlfeat', 'pillow', 'pysal', 'scipy', 'networkx', 'numexpr', 'dill', 'cython', 'matplotlib'], classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: ISC License (ISCL)', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', "Development Status :: 3 - Alpha", "Topic :: Utilities", "License :: Public Domain", 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements ) if __name__ == '__main__': setup_package() Loading
autocnet/__init__.py +9 −0 Changes for autocnet/__init__.py: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -9,3 +9,12 @@ def get_data(filename): fullname = os.path.join(dirname, filename) return fullname import autocnet.examples import autocnet.camera import autocnet.cg import autocnet.control import autocnet.graph import autocnet.matcher import autocnet.transformation import autocnet.utils import autocnet.utils No newline at end of file
conda/build.sh 0 → 100755 +3 −0 Changes for conda/build.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash $PYTHON setup.py build $PYTHON setup.py install
conda/meta.yaml 0 → 100644 +44 −0 Changes for conda/meta.yaml: 44 added lines, 0 removed lines. Original line number Diff line number Diff line package: name: autocnet version: 0.1.0 source: # git_url: https://github.com/USGS-Astrogeology/autocnet.git path: ../ requirements: build: - python - plio - opencv3 3.0.0 - vlfeat - cyvlfeat - pillow - matplotlib - pysal - scipy - networkx - numexpr - dill - cython - pyyaml run: - python - plio - opencv3 3.0.0 - vlfeat - cyvlfeat - pillow - matplotlib - pysal - scipy - networkx - numexpr - dill - cython - pyyaml test: imports: - autocnet - autocnet.graph.network
setup.py +49 −42 Changes for setup.py: 49 added lines, 42 removed lines. Original line number Diff line number Diff line #!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup, find_packages import autocnet from autocnet.examples import available #Grab the README.md for the long description with open('README.rst', 'r') as f: long_description = f.read() try: from setuptools import setup except ImportError: from distutils.core import setup VERSION = autocnet.__version__ with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :changelog:', '') requirements = [ # TODO: put package requirements here ] test_requirements = [ # TODO: put package test requirements here ] def setup_package(): examples = set() for i in available(): if not os.path.isdir('plio/examples/' + i): if '.' in i: glob_name = 'examples/*.' + i.split('.')[-1] else: glob_name = 'examples/' + i else: glob_name = 'examples/' + i + '/*' examples.add(glob_name) setup( name='autocnet', version='0.1.0', description="R&D for automated control network generation.", long_description=readme + '\n\n' + history, name = "plio", version = VERSION, author = "Jay Laura", author_email='jlaura@usgs.gov', url='https://github.com/jlaura@usgs.gov/autocnet', packages=[ 'autocnet', ], package_dir={'autocnet': 'autocnet'}, 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/autocnet", packages=find_packages(), include_package_data=True, install_requires=requirements, license="ISCL", package_data={'autocnet' : list(examples)}, zip_safe=False, keywords='autocnet', install_requires=[ 'pandas', 'pyyaml', 'plio', 'cyvlfeat', 'pillow', 'pysal', 'scipy', 'networkx', 'numexpr', 'dill', 'cython', 'matplotlib'], classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: ISC License (ISCL)', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', "Development Status :: 3 - Alpha", "Topic :: Utilities", "License :: Public Domain", 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements ) if __name__ == '__main__': setup_package()