Loading setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ extensions = [generate_extension('usgscam.genericframe', ['usgscam/genericframe. setup( name='usgscam', version='0.1.0', version='0.1.1', ext_modules=cythonize(extensions), description='Cython wrapper to the USGS MDIS Camera Model', author='Jay Laura', Loading tests/test_generic_frame.py +0 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,6 @@ class TestCassiniNAC: class TestMdisWac: @pytest.mark.parametrize('image, ground',[ ((512, 512, 0), (-73589.5516508502, 562548.342040933, 2372508.44060771)), Loading usgscam/__init__.py +18 −3 Original line number Diff line number Diff line from pkg_resources import get_distribution, DistributionNotFound import os.path try: _dist = get_distribution('autocnet') # Normalize case for Windows systems dist_loc = os.path.normcase(_dist.location) here = os.path.normcase(__file__) if not here.startswith(os.path.join(dist_loc, 'autocnet')): # not installed, but there is another version that *is* raise DistributionNotFound except DistributionNotFound: __version__ = 'Please install this project with setup.py' else: __version__ = _dist.version import usgscam.genericframe import usgscam.orex import usgscam.genericls #from usgscam import mdis #from usgscam import orex import usgscam.orex Loading
setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ extensions = [generate_extension('usgscam.genericframe', ['usgscam/genericframe. setup( name='usgscam', version='0.1.0', version='0.1.1', ext_modules=cythonize(extensions), description='Cython wrapper to the USGS MDIS Camera Model', author='Jay Laura', Loading
tests/test_generic_frame.py +0 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,6 @@ class TestCassiniNAC: class TestMdisWac: @pytest.mark.parametrize('image, ground',[ ((512, 512, 0), (-73589.5516508502, 562548.342040933, 2372508.44060771)), Loading
usgscam/__init__.py +18 −3 Original line number Diff line number Diff line from pkg_resources import get_distribution, DistributionNotFound import os.path try: _dist = get_distribution('autocnet') # Normalize case for Windows systems dist_loc = os.path.normcase(_dist.location) here = os.path.normcase(__file__) if not here.startswith(os.path.join(dist_loc, 'autocnet')): # not installed, but there is another version that *is* raise DistributionNotFound except DistributionNotFound: __version__ = 'Please install this project with setup.py' else: __version__ = _dist.version import usgscam.genericframe import usgscam.orex import usgscam.genericls #from usgscam import mdis #from usgscam import orex import usgscam.orex