mepo 2.0.0rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mepo might be problematic. Click here for more details.

Files changed (74) hide show
  1. etc/mepo-cd.bash +26 -0
  2. etc/mepo-cd.csh +1 -0
  3. etc/mepo-cd.zsh +26 -0
  4. etc/mepo-completion.bash +26 -0
  5. etc/mepoconfig-example +83 -0
  6. mepo-2.0.0rc1.dist-info/METADATA +34 -0
  7. mepo-2.0.0rc1.dist-info/RECORD +74 -0
  8. mepo-2.0.0rc1.dist-info/WHEEL +4 -0
  9. mepo-2.0.0rc1.dist-info/entry_points.txt +2 -0
  10. mepo-2.0.0rc1.dist-info/licenses/LICENSE +200 -0
  11. mepo-2.0.0rc1.dist-info/licenses/LICENSE-NOSA +261 -0
  12. src/mepo/__init__.py +7 -0
  13. src/mepo/__main__.py +19 -0
  14. src/mepo/cmdline/__init__.py +0 -0
  15. src/mepo/cmdline/branch_parser.py +60 -0
  16. src/mepo/cmdline/config_parser.py +54 -0
  17. src/mepo/cmdline/parser.py +497 -0
  18. src/mepo/cmdline/stash_parser.py +75 -0
  19. src/mepo/cmdline/tag_parser.py +82 -0
  20. src/mepo/command/__init__.py +0 -0
  21. src/mepo/command/branch.py +12 -0
  22. src/mepo/command/branch_create.py +13 -0
  23. src/mepo/command/branch_delete.py +13 -0
  24. src/mepo/command/branch_list.py +24 -0
  25. src/mepo/command/changed-files.py +59 -0
  26. src/mepo/command/checkout-if-exists.py +34 -0
  27. src/mepo/command/checkout.py +41 -0
  28. src/mepo/command/clone.py +145 -0
  29. src/mepo/command/commit.py +46 -0
  30. src/mepo/command/compare.py +119 -0
  31. src/mepo/command/config.py +14 -0
  32. src/mepo/command/config_delete.py +7 -0
  33. src/mepo/command/config_get.py +18 -0
  34. src/mepo/command/config_print.py +5 -0
  35. src/mepo/command/config_set.py +8 -0
  36. src/mepo/command/develop.py +24 -0
  37. src/mepo/command/diff.py +74 -0
  38. src/mepo/command/fetch.py +21 -0
  39. src/mepo/command/init.py +25 -0
  40. src/mepo/command/list.py +9 -0
  41. src/mepo/command/pull-all.py +30 -0
  42. src/mepo/command/pull.py +27 -0
  43. src/mepo/command/push.py +14 -0
  44. src/mepo/command/reset.py +105 -0
  45. src/mepo/command/restore-state.py +41 -0
  46. src/mepo/command/save.py +79 -0
  47. src/mepo/command/stage.py +26 -0
  48. src/mepo/command/stash.py +16 -0
  49. src/mepo/command/stash_apply.py +13 -0
  50. src/mepo/command/stash_list.py +14 -0
  51. src/mepo/command/stash_pop.py +13 -0
  52. src/mepo/command/stash_push.py +13 -0
  53. src/mepo/command/stash_show.py +13 -0
  54. src/mepo/command/status.py +85 -0
  55. src/mepo/command/tag.py +14 -0
  56. src/mepo/command/tag_create.py +53 -0
  57. src/mepo/command/tag_delete.py +21 -0
  58. src/mepo/command/tag_list.py +24 -0
  59. src/mepo/command/tag_push.py +24 -0
  60. src/mepo/command/unstage.py +23 -0
  61. src/mepo/command/update-state.py +23 -0
  62. src/mepo/command/whereis.py +53 -0
  63. src/mepo/component.py +247 -0
  64. src/mepo/git.py +579 -0
  65. src/mepo/registry.py +80 -0
  66. src/mepo/state.py +168 -0
  67. src/mepo/utilities/__init__.py +0 -0
  68. src/mepo/utilities/chdir.py +14 -0
  69. src/mepo/utilities/colors.py +17 -0
  70. src/mepo/utilities/exceptions.py +34 -0
  71. src/mepo/utilities/mepoconfig.py +77 -0
  72. src/mepo/utilities/shellcmd.py +21 -0
  73. src/mepo/utilities/verify.py +38 -0
  74. src/mepo/utilities/version.py +92 -0
etc/mepo-cd.bash ADDED
@@ -0,0 +1,26 @@
1
+ function usage_ () {
2
+ echo "usage: "
3
+ echo " mepo-cd : cd to root of mepo project"
4
+ echo " mepo-cd <component> : cd to directory of <component>"
5
+ echo ""
6
+ echo "mepo-cd accepts only 0 or 1 arguments"
7
+ }
8
+
9
+ function mepo-cd () {
10
+ if [ "$#" -gt 1 ]; then
11
+ usage_
12
+ return 1
13
+ fi
14
+ if [ "$1" == "-h" ]; then
15
+ usage_
16
+ return 0
17
+ fi
18
+ if [ "$#" -eq 0 ]; then
19
+ output=$(mepo whereis _root)
20
+ else
21
+ output=$(mepo whereis -i $1)
22
+ fi
23
+ if [ $? -eq 0 ]; then
24
+ cd $output
25
+ fi
26
+ }
etc/mepo-cd.csh ADDED
@@ -0,0 +1 @@
1
+ alias mepo-cd 'cd `mepo whereis -i \!:1`'
etc/mepo-cd.zsh ADDED
@@ -0,0 +1,26 @@
1
+ function mepo-cd () {
2
+ if [ "$#" -gt 1 ]; then
3
+ echo "usage: "
4
+ echo " mepo-cd : cd to root of mepo project"
5
+ echo " mepo-cd <component> : cd to directory of <component>"
6
+ echo ""
7
+ echo "mepo-cd accepts only 0 or 1 arguments"
8
+ return 1
9
+ fi
10
+ if [ "$1" = "-h" ]; then
11
+ echo "usage: "
12
+ echo " mepo-cd : cd to root of mepo project"
13
+ echo " mepo-cd <component> : cd to directory of <component>"
14
+ echo ""
15
+ echo "mepo-cd accepts only 0 or 1 arguments"
16
+ return 0
17
+ fi
18
+ if (( $# == 0 )); then
19
+ output=$(mepo whereis _root)
20
+ else
21
+ output=$(mepo whereis -i $1)
22
+ fi
23
+ if [ $? -eq 0 ]; then
24
+ cd $output
25
+ fi
26
+ }
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # complete -W "init clone status checkout branch diff where whereis history" mepo
4
+
5
+ _get_mepo_commands() {
6
+ local mepo_cmd_list=""
7
+ if [[ "$OSTYPE" == "darwin"* ]]
8
+ then
9
+ local mepodir=$(dirname $(readlink $(which mepo)))
10
+ else
11
+ local mepodir=$(dirname $(readlink -f $(which mepo)))
12
+ fi
13
+ for mydir in $(ls -d ${mepodir}/mepo.d/command/*/); do
14
+ if [[ $mydir != *"__pycache__"* ]]; then
15
+ mepo_cmd_list+=" $(basename $mydir)"
16
+ fi
17
+ done
18
+ echo ${mepo_cmd_list}
19
+ }
20
+
21
+ _mepo_completions() {
22
+ mepo_commands=$(_get_mepo_commands)
23
+ COMPREPLY=($(compgen -W "${mepo_commands}" "${COMP_WORDS[1]}"))
24
+ }
25
+
26
+ complete -F _mepo_completions mepo
etc/mepoconfig-example ADDED
@@ -0,0 +1,83 @@
1
+ # This is a skeleton example of a .mepoconfig file
2
+ #
3
+ # .mepoconfig is a config file a la gitconfig with sections and options.
4
+ #
5
+ # Currently, .mepoconfig files recognize three sections: [init], [alias], and [clone].
6
+ #
7
+ # =======================================================================
8
+ #
9
+ # [init] Section
10
+ #
11
+ # The init section currently recognizes one option, style.
12
+ # This has three allowed values: naked, postfix, prefix
13
+ #
14
+ # So if you have:
15
+ #
16
+ # [init]
17
+ # style = postfix
18
+ #
19
+ # This is equivalent to doing:
20
+ #
21
+ # mepo init --style postfix
22
+ #
23
+ # or when running with mepo clone:
24
+ #
25
+ # mepo clone --style postfix
26
+ #
27
+ # You set these options by running:
28
+ #
29
+ # mepo config set init.style <value>
30
+ #
31
+ # =======================================================================
32
+ #
33
+ # [alias] Section
34
+ #
35
+ # The [alias] Section is used to make aliases of mepo commands. For
36
+ # example this:
37
+ #
38
+ # [alias]
39
+ # st = status
40
+ #
41
+ # lets one run "mepo st" as an alias to "mepo status"
42
+ #
43
+ # Note: Due to lack of skill of the developer and limitations in Argparse,
44
+ # you can only alias mepo primary commands and not "subcommands" or
45
+ # "options". So you can have an alias for "commit" and for "branch",
46
+ # but you can't do an option for "commit -m" or "branch create".
47
+ #
48
+ # You can set an alias by running:
49
+ #
50
+ # mepo config set alias.<alias> <command>
51
+ #
52
+ # =======================================================================
53
+ #
54
+ # [clone] Section
55
+ #
56
+ # The clone section currently recognizes one option, partial.
57
+ # This has two allowed values: blobless and treeless
58
+ #
59
+ # So if you have:
60
+ #
61
+ # [clone]
62
+ # partial = blobless
63
+ #
64
+ # This is equivalent to doing:
65
+ #
66
+ # mepo clone --partial=blobless
67
+ #
68
+ # which corresponds to the git clone option --filter=blob:none
69
+ #
70
+ # and similarly for treeless:
71
+ #
72
+ # [clone]
73
+ # partial = treeless
74
+ #
75
+ # is equivalent to doing:
76
+ #
77
+ # mepo clone --partial=treeless
78
+ #
79
+ # which corresponds to the git clone option --filter=tree:0
80
+ #
81
+ # You set these options by running:
82
+ #
83
+ # mepo config set clone.partial <value>
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.3
2
+ Name: mepo
3
+ Version: 2.0.0rc1
4
+ Summary: A tool for managing (m)ultiple r(epo)s
5
+ Author-email: GMAO SI Team <siteam@gmao.gsfc.nasa.gov>
6
+ License-Expression: Apache-2.0
7
+ License-File: LICENSE
8
+ License-File: LICENSE-NOSA
9
+ Requires-Python: >=3.9
10
+ Requires-Dist: mdutils>=1.6.0
11
+ Requires-Dist: pyyaml>=6.0.1
12
+ Description-Content-Type: text/markdown
13
+
14
+ # mepo [![Actions Status](https://github.com/pchakraborty/mepo/workflows/Unit%20testing%20of%20mepo/badge.svg)](https://github.com/pchakraborty/mepo/actions) [![DOI](https://zenodo.org/badge/215067850.svg)](https://zenodo.org/badge/latestdoi/215067850) [![Rye](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/rye/main/artwork/badge.json)](https://rye-up.com) ![pylint]()
15
+
16
+ `mepo` is a tool, written in Python3 (3.9.0+), to manage (m)ultiple git r(epo)sitories, by attempting to create an illusion of a 'single repository' for multi-repository projects. Please see the [Wiki](../../wiki) for examples of `mepo` workflows.
17
+
18
+ ## Commands
19
+
20
+ For more about the possible `mepo` commands, please see the [Mepo Commands](https://github.com/GEOS-ESM/mepo/wiki/Mepo-Commands) wiki page.
21
+
22
+ ## Presentation
23
+
24
+ The SI Team has made a PowerPoint about `mepo` that can be found [here](https://github.com/GEOS-ESM/mepo/wiki/files/MEPO-2020Nov19.pptx).
25
+
26
+ ## Contributing
27
+
28
+ Please check out our [contributing guidelines](CONTRIBUTING.md).
29
+
30
+ ## License
31
+
32
+ All files are currently licensed under the Apache-2.0 license, see [`LICENSE`](LICENSE).
33
+
34
+ Previously, the code was licensed under the [NASA Open Source Agreement, Version 1.3](LICENSE-NOSA).
@@ -0,0 +1,74 @@
1
+ etc/mepo-cd.bash,sha256=NwtD5ZWTCpoHNKgac0ipnOJtZ4mLdigDC2Tge_uUlLs,568
2
+ etc/mepo-cd.csh,sha256=aV4HrA3ymddzuEW5783DKV3YYfRvEzWVfuj-uPYhNbQ,42
3
+ etc/mepo-cd.zsh,sha256=0ik-9_5kDdwettt9IiHO6e30vf6x6_FCFC6z1YYhL10,718
4
+ etc/mepo-completion.bash,sha256=mZMsKn5-Q76h4tcnIp7WcCTmARz0z_DLdHzIR89XVIo,708
5
+ etc/mepoconfig-example,sha256=yJ_7hKRM_S02wOan-OSQbVsM9cwd3eJIYBeBqJcbTZQ,2099
6
+ src/mepo/__init__.py,sha256=T6C9JAFC8do4_WdfepCx32cOGhbDF4R0dZNMo3Ou63U,165
7
+ src/mepo/__main__.py,sha256=m3tC0Q45waehbOWam3WVVbXp2jdPMaxj9LpTKBDs110,474
8
+ src/mepo/component.py,sha256=oH8aXbaLUMgYgBdgroaDnv81c7POmz76aO9iS52BIoE,8838
9
+ src/mepo/git.py,sha256=P0LvT15ImWdS4Q2-Twfz8nFLhCfCKyxtg2WNi2dVmzA,21233
10
+ src/mepo/registry.py,sha256=cqACmlodL7vsQittexa3vaQuH0RrMFnV7xaLxnw2Mls,2695
11
+ src/mepo/state.py,sha256=QUZ8Xa1-MVG0Fl3sDODx2oIJkVGLD4UPe4GwE6qvPE0,6073
12
+ src/mepo/cmdline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
+ src/mepo/cmdline/branch_parser.py,sha256=vLyaITYXJgqDAtLLAUjxZIPIWSCYYzqT7w9jb9gwPnk,2040
14
+ src/mepo/cmdline/config_parser.py,sha256=3HTD7KZY-Aeyq6ps0s_uNmtevLgK7FpvEi5i9LacUro,1981
15
+ src/mepo/cmdline/parser.py,sha256=RnpMTixfnL23ig4sOitlExHynRfZIniCvZLAuhyqfnQ,17308
16
+ src/mepo/cmdline/stash_parser.py,sha256=iCUeyYRylOmYf5Y2P4bcjGJi39ak2o2JYjdleizFcoM,2083
17
+ src/mepo/cmdline/tag_parser.py,sha256=YAaGxtqjZJ-6yji5WXWUfKklzbGrIKngVadPZ16kjLo,2645
18
+ src/mepo/command/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ src/mepo/command/branch.py,sha256=yRFAEu3idX2a84hJvngi1SIXoZsJHmWYifRZ5vVVCt0,326
20
+ src/mepo/command/branch_create.py,sha256=qROfjMXyUxOWy2YgVEcsUCDazjtCO2qqJ_GbyHs8uLE,448
21
+ src/mepo/command/branch_delete.py,sha256=KSlx67wFUqj1_yDVlh3nqN4UzeS6BZ80K4uYMrc3l4s,470
22
+ src/mepo/command/branch_list.py,sha256=sTx8vyI8DKy5Ze-FMpjsG7on1dUtUANYmJ43gD_u2kk,880
23
+ src/mepo/command/changed-files.py,sha256=Ong5bkYOXNC70mVt3zsp5mOCPgKE4RSERbkfuuqocsc,1892
24
+ src/mepo/command/checkout-if-exists.py,sha256=eLahhsjgAhnQ6YzSP6YIKuVZGNL9yONMCROI0BaD_4M,1142
25
+ src/mepo/command/checkout.py,sha256=SSFGATusSLRPM8eYBjw3tFVWC7rhXaqs3KItxMH9lfI,1412
26
+ src/mepo/command/clone.py,sha256=aK_Ul3JJvgkqaGNWxBwRJgOvz76u1nTgSoJ_Uj5G4dU,5169
27
+ src/mepo/command/commit.py,sha256=_W6t_1O7m-4I7WSUEz-uwjpR6h-X88LP_CFbvLXE7vs,1398
28
+ src/mepo/command/compare.py,sha256=pdpEI5KoVyTE0XF84qQKBmTbdDTKHABIOAHEsFpcuSw,3931
29
+ src/mepo/command/config.py,sha256=OTVat8HPVfbFPAeuphTOELFVkNpL-oPsAw_Kj4fAV78,395
30
+ src/mepo/command/config_delete.py,sha256=w6H3itcoX-_DvNCU9dWUlqr2eaQzAoqHTX-K3V5vKec,178
31
+ src/mepo/command/config_get.py,sha256=3YkCD8UkWBsCtTPuMPg-KwkOV6iIL80rtOQkReXNj1U,524
32
+ src/mepo/command/config_print.py,sha256=EDvO9Dg33tbVTdhlgbg5Nh0OAsy4edrthLl46nByhgk,75
33
+ src/mepo/command/config_set.py,sha256=Iifl1Kht5ZCeEgARiVomP4R5y8sKlr2pYJOHn5YuDDA,198
34
+ src/mepo/command/develop.py,sha256=XyZ08ATWPzSrs6GUkJVTg6GMIduOn1we83OqRf1YtAw,845
35
+ src/mepo/command/diff.py,sha256=Y1b__Wz6n0EQdUucGZGRBZJgFG2h_K8LK2nEfOKYyVs,2100
36
+ src/mepo/command/fetch.py,sha256=mYpkH041jNY6MY8gyuqDHCcDTsxG68qtyuWRq7jHikY,685
37
+ src/mepo/command/init.py,sha256=hXKNWoYnFfUXhcp1lvQBjoJvdg9DHr4hCDaWNFLi0Eo,794
38
+ src/mepo/command/list.py,sha256=tM6Y-reDtxU34B1LdlTuvfzot1d2S99MfJrfYiKKTeo,226
39
+ src/mepo/command/pull-all.py,sha256=U7LzARRCzLaE3FMBptLWPLpsVQ4Cjomm4Wc82Tnzldo,934
40
+ src/mepo/command/pull.py,sha256=Fiy88Dgtf-pKLDLPq4U2mACCsfazrLxYOIPdd0UvDcc,930
41
+ src/mepo/command/push.py,sha256=sAu1HN8y5VIenzXGudeRCUs4Ivhi1syfSt_iERW8S9Y,470
42
+ src/mepo/command/reset.py,sha256=Q2iumbUlRusNBfEpogioQmOqH9-IOx_5jgevIhTb-Ks,3643
43
+ src/mepo/command/restore-state.py,sha256=LyyzMsK62bHStQaWkjESAfIRUMMt1PbNKChi_Vhj3C8,1274
44
+ src/mepo/command/save.py,sha256=q_JsbIrbayjDDPuHw-AdgHHrxl1QNZfUaCdatNy_nWM,2688
45
+ src/mepo/command/stage.py,sha256=0SObvoEcerO7L94WcMSMNL-DyBsPwPfzOyGWWZwi_Bk,913
46
+ src/mepo/command/stash.py,sha256=XdjJDP7-o3llQVoyqFEQ3UbP0W5ub_oXlipxR7XAp84,456
47
+ src/mepo/command/stash_apply.py,sha256=PmwK5h-XH6oJwlICvbMN4mR9EpFv5pZFTG1eL1i6ZpI,420
48
+ src/mepo/command/stash_list.py,sha256=fHVL61eichQteTdenUejLcDEfChRHGhTH7f5SzBdZaY,495
49
+ src/mepo/command/stash_pop.py,sha256=k-bboocejmeKojneYePw5Hs_CV4xCsv_aRpiY3pL594,418
50
+ src/mepo/command/stash_push.py,sha256=33hBSgkqObHPVgtmjdtnM5mDPkkZUTOb6aGBfFksdjQ,433
51
+ src/mepo/command/stash_show.py,sha256=QiVBB9nZ-4GBApe6tHkS1AMaNVyO-LETI2zmHcmFzO8,420
52
+ src/mepo/command/status.py,sha256=XlJwENe5z-nR25z68GyU96IKa0g85PdW8SiHGgpV4kg,3146
53
+ src/mepo/command/tag.py,sha256=Ly4eO-IqJ2LabIDaODk_yNY3WGvMGgjZxWVa41TQ26E,368
54
+ src/mepo/command/tag_create.py,sha256=Duu8J5sGZyIrHb1ar-prOfPNKZRz6b-SbHntAPYhFK4,1705
55
+ src/mepo/command/tag_delete.py,sha256=eNJHiEl3yEbRqF5-bMHIiKbj_cdLZwMNNqAfPChO2Pk,709
56
+ src/mepo/command/tag_list.py,sha256=2jvTd0u07130Taofcd2vPWdS7FVkC5nAuN4LvMIcGJE,856
57
+ src/mepo/command/tag_push.py,sha256=Sze4FCi89ueJt8ksB9rbP3Rym59drw6s94IO2lBZPlg,851
58
+ src/mepo/command/unstage.py,sha256=CbINep3FkOYn5-u5kw6pe8jFyYnqRnnpoIkvwYGhMZI,781
59
+ src/mepo/command/update-state.py,sha256=BTFioqBM6sGpAx87zwR02he2UQ9vMmExRv7glPFYR3Q,671
60
+ src/mepo/command/whereis.py,sha256=pcmqKjngZl3h67GETz-jA19lXJWjMXhNnSYmTvQkYRo,2064
61
+ src/mepo/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
+ src/mepo/utilities/chdir.py,sha256=K96MQDUVTbWoEignGAtpQG1gT3Pgd1jgSd-AFxoOrH8,236
63
+ src/mepo/utilities/colors.py,sha256=o7RLKR_OO-2Ibxj8S-XuJNczF4I0oyhBtA73PMZERBY,372
64
+ src/mepo/utilities/exceptions.py,sha256=AJhCvimT8V-1KKUFqQhPu72Zx-lIKrIFoqVRZnG7TcA,685
65
+ src/mepo/utilities/mepoconfig.py,sha256=ML8E7RShecb-KwxKzCZonWOASQ-ZbTk0yhNK2sYO3Pg,1605
66
+ src/mepo/utilities/shellcmd.py,sha256=MMMLPPrQlyPOjC5dSrT14ydyzTjtCeqJLvvnOwhQbU4,484
67
+ src/mepo/utilities/verify.py,sha256=VooHAoro2nVXEfdBmVh7fryp5BSekoUP-opSIuj0Zs0,1205
68
+ src/mepo/utilities/version.py,sha256=xxsL_XgjhtW6m21VWrkZeKHk62z0dIeeeLV19xLKOwM,2985
69
+ mepo-2.0.0rc1.dist-info/METADATA,sha256=XlNNPAixqcm_SGKWzTBFLwnMFWd-a69zi-Cg7vGr9Bs,1606
70
+ mepo-2.0.0rc1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
71
+ mepo-2.0.0rc1.dist-info/entry_points.txt,sha256=RUf4yxgT1JNQfTHOHxMSToAg9aGMKuwHcBUO_kQsU6s,44
72
+ mepo-2.0.0rc1.dist-info/licenses/LICENSE,sha256=Y-I24dWgUkGd1PJpGnThTXFxDZ4Efx6LTmx_C2QO1Kg,11025
73
+ mepo-2.0.0rc1.dist-info/licenses/LICENSE-NOSA,sha256=cVfdzQ0Q5tEeT_m_bViTSAchDaQD-DSjQfEFtLrz39I,12619
74
+ mepo-2.0.0rc1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.24.2
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ mepo = mepo.__main__:main
@@ -0,0 +1,200 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and
10
+ distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright
13
+ owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities
16
+ that control, are controlled by, or are under common control with that entity.
17
+ For the purposes of this definition, "control" means (i) the power, direct or
18
+ indirect, to cause the direction or management of such entity, whether by
19
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20
+ outstanding shares, or (iii) beneficial ownership of such entity.
21
+
22
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
23
+ permissions granted by this License.
24
+
25
+ "Source" form shall mean the preferred form for making modifications, including
26
+ but not limited to software source code, documentation source, and configuration
27
+ files.
28
+
29
+ "Object" form shall mean any form resulting from mechanical transformation or
30
+ translation of a Source form, including but not limited to compiled object code,
31
+ generated documentation, and conversions to other media types.
32
+
33
+ "Work" shall mean the work of authorship, whether in Source or Object form, made
34
+ available under the License, as indicated by a copyright notice that is included
35
+ in or attached to the work (an example is provided in the Appendix below).
36
+
37
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
38
+ is based on (or derived from) the Work and for which the editorial revisions,
39
+ annotations, elaborations, or other modifications represent, as a whole, an
40
+ original work of authorship. For the purposes of this License, Derivative Works
41
+ shall not include works that remain separable from, or merely link (or bind by
42
+ name) to the interfaces of, the Work and Derivative Works thereof.
43
+
44
+ "Contribution" shall mean any work of authorship, including the original version
45
+ of the Work and any modifications or additions to that Work or Derivative Works
46
+ thereof, that is intentionally submitted to Licensor for inclusion in the Work
47
+ by the copyright owner or by an individual or Legal Entity authorized to submit
48
+ on behalf of the copyright owner. For the purposes of this definition,
49
+ "submitted" means any form of electronic, verbal, or written communication sent
50
+ to the Licensor or its representatives, including but not limited to
51
+ communication on electronic mailing lists, source code control systems, and
52
+ issue tracking systems that are managed by, or on behalf of, the Licensor for
53
+ the purpose of discussing and improving the Work, but excluding communication
54
+ that is conspicuously marked or otherwise designated in writing by the copyright
55
+ owner as "Not a Contribution."
56
+
57
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
58
+ of whom a Contribution has been received by Licensor and subsequently
59
+ incorporated within the Work.
60
+
61
+ 2. Grant of Copyright License.
62
+
63
+ Subject to the terms and conditions of this License, each Contributor hereby
64
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
65
+ irrevocable copyright license to reproduce, prepare Derivative Works of,
66
+ publicly display, publicly perform, sublicense, and distribute the Work and such
67
+ Derivative Works in Source or Object form.
68
+
69
+ 3. Grant of Patent License.
70
+
71
+ Subject to the terms and conditions of this License, each Contributor hereby
72
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
73
+ irrevocable (except as stated in this section) patent license to make, have
74
+ made, use, offer to sell, sell, import, and otherwise transfer the Work, where
75
+ such license applies only to those patent claims licensable by such Contributor
76
+ that are necessarily infringed by their Contribution(s) alone or by combination
77
+ of their Contribution(s) with the Work to which such Contribution(s) was
78
+ submitted. If You institute patent litigation against any entity (including a
79
+ cross-claim or counterclaim in a lawsuit) alleging that the Work or a
80
+ Contribution incorporated within the Work constitutes direct or contributory
81
+ patent infringement, then any patent licenses granted to You under this License
82
+ for that Work shall terminate as of the date such litigation is filed.
83
+
84
+ 4. Redistribution.
85
+
86
+ You may reproduce and distribute copies of the Work or Derivative Works
87
+ thereof in any medium, with or without modifications, and in Source or Object
88
+ form, provided that You meet the following conditions:
89
+
90
+ (a) You must give any other recipients of the Work or Derivative Works a
91
+ copy of this License; and
92
+
93
+ (b) You must cause any modified files to carry prominent notices stating that
94
+ You changed the files; and
95
+
96
+ (c) You must retain, in the Source form of any Derivative Works that You
97
+ distribute, all copyright, patent, trademark, and attribution notices from
98
+ the Source form of the Work, excluding those notices that do not pertain
99
+ to any part of the Derivative Works; and
100
+
101
+ (d) If the Work includes a "NOTICE" text file as part of its distribution,
102
+ then any Derivative Works that You distribute must include a readable copy
103
+ of the attribution notices contained within such NOTICE file, excluding
104
+ those notices that do not pertain to any part of the Derivative Works, in
105
+ at least one of the following places: within a NOTICE text file
106
+ distributed as part of the Derivative Works; within the Source form or
107
+ documentation, if provided along with the Derivative Works; or, within a
108
+ display generated by the Derivative Works, if and wherever such
109
+ third-party notices normally appear. The contents of the NOTICE file are
110
+ for informational purposes only and do not modify the License. You may add
111
+ Your own attribution notices within Derivative Works that You distribute,
112
+ alongside or as an addendum to the NOTICE text from the Work, provided
113
+ that such additional attribution notices cannot be construed as modifying
114
+ the License.
115
+
116
+ You may add Your own copyright statement to Your modifications and may
117
+ provide additional or different license terms and conditions for use,
118
+ reproduction, or distribution of Your modifications, or for any such
119
+ Derivative Works as a whole, provided Your use, reproduction, and
120
+ distribution of the Work otherwise complies with the conditions stated in
121
+ this License.
122
+
123
+ 5. Submission of Contributions.
124
+
125
+ Unless You explicitly state otherwise, any Contribution intentionally
126
+ submitted for inclusion in the Work by You to the Licensor shall be under the
127
+ terms and conditions of this License, without any additional terms or
128
+ conditions. Notwithstanding the above, nothing herein shall supersede or
129
+ modify the terms of any separate license agreement you may have executed with
130
+ Licensor regarding such Contributions.
131
+
132
+ 6. Trademarks.
133
+
134
+ This License does not grant permission to use the trade names, trademarks,
135
+ service marks, or product names of the Licensor, except as required for
136
+ reasonable and customary use in describing the origin of the Work and
137
+ reproducing the content of the NOTICE file.
138
+
139
+ 7. Disclaimer of Warranty.
140
+
141
+ Unless required by applicable law or agreed to in writing, Licensor provides
142
+ the Work (and each Contributor provides its Contributions) on an "AS IS"
143
+ BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
144
+ implied, including, without limitation, any warranties or conditions of
145
+ TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR
146
+ PURPOSE. You are solely responsible for determining the appropriateness of
147
+ using or redistributing the Work and assume any risks associated with Your
148
+ exercise of permissions under this License.
149
+
150
+ 8. Limitation of Liability.
151
+
152
+ In no event and under no legal theory, whether in tort (including
153
+ negligence), contract, or otherwise, unless required by applicable law (such
154
+ as deliberate and grossly negligent acts) or agreed to in writing, shall any
155
+ Contributor be liable to You for damages, including any direct, indirect,
156
+ special, incidental, or consequential damages of any character arising as a
157
+ result of this License or out of the use or inability to use the Work
158
+ (including but not limited to damages for loss of goodwill, work stoppage,
159
+ computer failure or malfunction, or any and all other commercial damages or
160
+ losses), even if such Contributor has been advised of the possibility of such
161
+ damages.
162
+
163
+ 9. Accepting Warranty or Additional Liability.
164
+
165
+ While redistributing the Work or Derivative Works thereof, You may choose to
166
+ offer, and charge a fee for, acceptance of support, warranty, indemnity, or
167
+ other liability obligations and/or rights consistent with this License.
168
+ However, in accepting such obligations, You may act only on Your own behalf
169
+ and on Your sole responsibility, not on behalf of any other Contributor, and
170
+ only if You agree to indemnify, defend, and hold each Contributor harmless
171
+ for any liability incurred by, or claims asserted against, such Contributor
172
+ by reason of your accepting any such warranty or additional liability.
173
+
174
+ END OF TERMS AND CONDITIONS
175
+
176
+ APPENDIX: How to apply the Apache License to your work
177
+
178
+ To apply the Apache License to your work, attach the following boilerplate
179
+ notice with the fields enclosed by brackets "[]" replaced with your own
180
+ identifying information. (Don't include the brackets!) The text should be
181
+ enclosed in the appropriate comment syntax for the file format. We also
182
+ recommend that a file or class name and description of purpose be included on
183
+ the same "printed page" as the copyright notice for easier identification within
184
+ third-party archives.
185
+
186
+ NASA Docket No. GSC-15,354-1, and identified as "GEOS-5 GCM Modeling Software”
187
+
188
+ “Copyright © 2008 United States Government as represented by the Administrator
189
+ of the National Aeronautics and Space Administration. All Rights Reserved.”
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
192
+ this file except in compliance with the License. You may obtain a copy of the
193
+ License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software distributed
198
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
199
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
200
+ specific language governing permissions and limitations under the License.