forked from spacetelescope/toasty
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+++ cranko-release-info-v1 [[projects]] qnames = ["toasty", "pypa"] version = "0.12.0" age = 0 +++
- Loading branch information
Showing
28 changed files
with
1,462 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,6 +97,7 @@ jobs: | |
\conda install -y \ | ||
cython \ | ||
filelock \ | ||
glymur \ | ||
healpy \ | ||
numpy \ | ||
openexr-python \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ChunkedPlateCarreeSampler | ||
========================= | ||
|
||
.. currentmodule:: toasty.samplers | ||
|
||
.. autoclass:: ChunkedPlateCarreeSampler | ||
:show-inheritance: | ||
|
||
.. rubric:: Attributes Summary | ||
|
||
.. autosummary:: | ||
|
||
~ChunkedPlateCarreeSampler.n_chunks | ||
|
||
.. rubric:: Methods Summary | ||
|
||
.. autosummary:: | ||
|
||
~ChunkedPlateCarreeSampler.filter | ||
~ChunkedPlateCarreeSampler.sampler | ||
|
||
.. rubric:: Attributes Documentation | ||
|
||
.. autoattribute:: n_chunks | ||
|
||
.. rubric:: Methods Documentation | ||
|
||
.. automethod:: filter | ||
.. automethod:: sampler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ToastCoordinateSystem | ||
===================== | ||
|
||
.. currentmodule:: toasty.toast | ||
|
||
.. autoclass:: ToastCoordinateSystem | ||
:show-inheritance: | ||
|
||
.. rubric:: Attributes Summary | ||
|
||
.. autosummary:: | ||
|
||
~ToastCoordinateSystem.ASTRONOMICAL | ||
~ToastCoordinateSystem.PLANETARY | ||
|
||
.. rubric:: Attributes Documentation | ||
|
||
.. autoattribute:: ASTRONOMICAL | ||
.. autoattribute:: PLANETARY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
count_tiles_matching_filter | ||
=========================== | ||
|
||
.. currentmodule:: toasty.toast | ||
|
||
.. autofunction:: count_tiles_matching_filter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
create_single_tile | ||
================== | ||
|
||
.. currentmodule:: toasty.toast | ||
|
||
.. autofunction:: create_single_tile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
generate_tiles_filtered | ||
======================= | ||
|
||
.. currentmodule:: toasty.toast | ||
|
||
.. autofunction:: generate_tiles_filtered |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sample_layer_filtered | ||
===================== | ||
|
||
.. currentmodule:: toasty.toast | ||
|
||
.. autofunction:: sample_layer_filtered |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
toast_tile_get_coords | ||
===================== | ||
|
||
.. currentmodule:: toasty.toast | ||
|
||
.. autofunction:: toast_tile_get_coords |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,107 +9,101 @@ | |
import os | ||
from setuptools import setup, Extension | ||
|
||
|
||
def get_long_desc(): | ||
in_preamble = True | ||
lines = [] | ||
|
||
with open('README.md', 'rt', encoding='utf8') as f: | ||
with open("README.md", "rt", encoding="utf8") as f: | ||
for line in f: | ||
if in_preamble: | ||
if line.startswith('<!--pypi-begin-->'): | ||
if line.startswith("<!--pypi-begin-->"): | ||
in_preamble = False | ||
else: | ||
if line.startswith('<!--pypi-end-->'): | ||
if line.startswith("<!--pypi-end-->"): | ||
break | ||
else: | ||
lines.append(line) | ||
|
||
lines.append(''' | ||
lines.append( | ||
""" | ||
For more information, including installation instructions, please visit [the | ||
project homepage]. | ||
[the project homepage]: https://toasty.readthedocs.io/ | ||
''') | ||
return ''.join(lines) | ||
""" | ||
) | ||
return "".join(lines) | ||
|
||
|
||
setup_args = dict( | ||
name = 'toasty', # cranko project-name | ||
version = '0.11.0', # cranko project-version | ||
description = 'Generate TOAST image tile pyramids from existing image data', | ||
long_description = get_long_desc(), | ||
long_description_content_type = 'text/markdown', | ||
url = 'https://toasty.readthedocs.io/', | ||
license = 'MIT', | ||
platforms = 'Linux, Mac OS X', | ||
|
||
author = 'Chris Beaumont, AAS WorldWide Telescope Team', | ||
author_email = '[email protected]', | ||
|
||
classifiers = [ | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Topic :: Scientific/Engineering :: Astronomy', | ||
'Topic :: Scientific/Engineering :: Visualization', | ||
name="toasty", # cranko project-name | ||
version="0.12.0", # cranko project-version | ||
description="Generate TOAST image tile pyramids from existing image data", | ||
long_description=get_long_desc(), | ||
long_description_content_type="text/markdown", | ||
url="https://toasty.readthedocs.io/", | ||
license="MIT", | ||
platforms="Linux, Mac OS X", | ||
author="Chris Beaumont, AAS WorldWide Telescope Team", | ||
author_email="[email protected]", | ||
classifiers=[ | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Topic :: Scientific/Engineering :: Astronomy", | ||
"Topic :: Scientific/Engineering :: Visualization", | ||
], | ||
|
||
packages = [ | ||
'toasty', | ||
'toasty.pipeline', | ||
'toasty.tests', | ||
packages=[ | ||
"toasty", | ||
"toasty.pipeline", | ||
"toasty.tests", | ||
], | ||
include_package_data = True, | ||
|
||
entry_points = { | ||
'console_scripts': [ | ||
'toasty=toasty.cli:entrypoint', | ||
include_package_data=True, | ||
entry_points={ | ||
"console_scripts": [ | ||
"toasty=toasty.cli:entrypoint", | ||
], | ||
}, | ||
|
||
install_requires = [ | ||
'filelock>=3', | ||
'numpy>=1.7', | ||
'pillow>=7.0', | ||
'PyYAML>=5.0', | ||
'tqdm>=4.0', | ||
'wwt_data_formats>=0.10.0', | ||
install_requires=[ | ||
"filelock>=3", | ||
"numpy>=1.7", | ||
"pillow>=7.0", | ||
"PyYAML>=5.0", | ||
"tqdm>=4.0", | ||
"wwt_data_formats>=0.10.2", | ||
], | ||
|
||
extras_require = { | ||
'test': [ | ||
'coveralls', | ||
'pytest-cov', | ||
extras_require={ | ||
"test": [ | ||
"coveralls", | ||
"pytest-cov", | ||
], | ||
'docs': [ | ||
'astropy', | ||
'astropy-sphinx-theme', | ||
'numpydoc', | ||
'sphinx', | ||
'sphinx-automodapi', | ||
"docs": [ | ||
"astropy", | ||
"astropy-sphinx-theme", | ||
"numpydoc", | ||
"sphinx", | ||
"sphinx-automodapi", | ||
], | ||
}, | ||
|
||
cmdclass = { | ||
'build_ext': build_ext, | ||
cmdclass={ | ||
"build_ext": build_ext, | ||
}, | ||
|
||
ext_modules = [ | ||
Extension('toasty._libtoasty', ['toasty/_libtoasty.pyx']), | ||
ext_modules=[ | ||
Extension("toasty._libtoasty", ["toasty/_libtoasty.pyx"]), | ||
], | ||
|
||
include_dirs = [ | ||
include_dirs=[ | ||
np.get_include(), | ||
] | ||
], | ||
) | ||
|
||
for e in setup_args['ext_modules']: | ||
e.cython_directives = {'language_level': '3'} | ||
for e in setup_args["ext_modules"]: | ||
e.cython_directives = {"language_level": "3"} | ||
|
||
if __name__ == '__main__': | ||
if __name__ == "__main__": | ||
setup(**setup_args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.