-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from MAAP-Project/develop
Develop into master
- Loading branch information
Showing
12 changed files
with
85 additions
and
184 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
include maap/dps/*.xml | ||
include maap/dps/*.xml |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
****** | ||
maapPy | ||
****** | ||
******* | ||
maap-py | ||
******* | ||
|
||
# Python MAAP Client Library | ||
|
||
|
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<wps:Input id="{name}"> | ||
<wps:Data> | ||
<wps:LiteralValue>{{value}}</wps:LiteralValue> | ||
<wps:LiteralValue><![CDATA[{value}]]></wps:LiteralValue> | ||
</wps:Data> | ||
</wps:Input> | ||
</wps:Input> |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,34 +4,59 @@ | |
|
||
# Package data | ||
# ------------ | ||
_author = 'Jet Propulsion Laboratory' | ||
_author_email = '[email protected]' | ||
_author = "Jet Propulsion Laboratory" | ||
_author_email = "[email protected]" | ||
_classifiers = [ | ||
'Environment :: Console', | ||
'Framework :: Pytest', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Information Technology', | ||
'Intended Audience :: Science/Research', | ||
'Topic :: Scientific/Engineering', | ||
'Development Status :: 3 - Alpha', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.5', | ||
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
"Environment :: Console", | ||
"Framework :: Pytest", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering", | ||
"Development Status :: 3 - Alpha", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3.5", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
_description = 'maapPy Python API' | ||
_download_url = '' | ||
_requirements = ["backoff", "boto3==1.33.13", "ConfigParser", "ipython==8.12.0", "mapboxgl", "moto", "mypy_boto3_s3", "pytest", | ||
"PyYAML", "requests", "responses", "setuptools"] | ||
_keywords = ['dataset', 'granule', 'nasa', 'MAAP', 'CMR'] | ||
_license = 'Apache License, Version 2.0' | ||
_long_description = 'Python client API for interacting with the NASA MAAP API' | ||
_name = 'maapPy' | ||
_namespaces = [] | ||
_test_suite = '' | ||
_url = 'https://github.com/MAAP-Project/maap-py' | ||
_version = '3.1.4' | ||
_description = "maapPy Python API" | ||
_download_url = "" | ||
_boto3_version = "1.34.41" | ||
_requirements = [ | ||
"backoff~=2.2", | ||
f"boto3~={_boto3_version}", | ||
"ConfigParser~=6.0", | ||
"importlib_resources~=6.0", | ||
# We must explicitly specify ipython because mapboxgl requires it, but | ||
# does not specify it in its own requirements. This is a bug in mapboxgl | ||
# that has been fixed, but the fix has not been released even though it was | ||
# fixed in 2019. See https://github.com/mapbox/mapboxgl-jupyter/pull/172. | ||
"ipython==8.11.0", | ||
"mapboxgl~=0.10", | ||
"PyYAML~=6.0", | ||
"requests~=2.31", | ||
"setuptools~=69.0", | ||
] | ||
_extra_requirements = { | ||
"dev": [ | ||
f"boto3-stubs[s3]~={_boto3_version}", | ||
"moto~=4.2", | ||
"mypy~=1.8", | ||
"pytest~=7.4", | ||
"responses~=0.24", | ||
"types-requests~=2.31", | ||
"types-PyYAML~=6.0", | ||
] | ||
} | ||
_keywords = ["dataset", "granule", "nasa", "MAAP", "CMR"] | ||
_license = "Apache License, Version 2.0" | ||
_long_description = "Python client API for interacting with the NASA MAAP API" | ||
_name = "maap-py" | ||
_namespaces: list[str] = [] | ||
_test_suite = "" | ||
_url = "https://github.com/MAAP-Project/maap-py" | ||
_version = "3.1.5" | ||
_zip_safe = False | ||
|
||
# Setup Metadata | ||
|
@@ -42,12 +67,11 @@ def _read(*rnames): | |
return open(os.path.join(os.path.dirname(__file__), *rnames)).read() | ||
|
||
|
||
_header = '*' * len(_name) + '\n' + _name + '\n' + '*' * len(_name) | ||
_longDescription = '\n\n'.join([ | ||
_header, | ||
_read('README.md') | ||
]) | ||
open('doc.txt', 'w').write(_longDescription) | ||
_header = "*" * len(_name) + "\n" + _name + "\n" + "*" * len(_name) | ||
_longDescription = "\n\n".join([_header, _read("README.md")]) | ||
|
||
with open("doc.txt", "w") as doc: | ||
doc.write(_longDescription) | ||
|
||
setup( | ||
author=_author, | ||
|
@@ -56,9 +80,9 @@ def _read(*rnames): | |
description=_description, | ||
download_url=_download_url, | ||
include_package_data=True, | ||
setup_requires=["pytest-runner"], | ||
install_requires=_requirements, | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest', 'responses', 'moto'], | ||
extras_require=_extra_requirements, | ||
keywords=_keywords, | ||
license=_license, | ||
long_description=_long_description, | ||
|
Oops, something went wrong.