vswmc-cli 2.2.0.dev355__tar.gz → 2.2.1__tar.gz
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.
- {vswmc_cli-2.2.0.dev355/vswmc_cli.egg-info → vswmc_cli-2.2.1}/PKG-INFO +1 -2
- vswmc_cli-2.2.1/pyproject.toml +3 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/setup.py +1 -3
- vswmc_cli-2.2.1/vswmc/__init__.py +1 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/__main__.py +16 -3
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1/vswmc_cli.egg-info}/PKG-INFO +1 -2
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc_cli.egg-info/SOURCES.txt +1 -1
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc_cli.egg-info/requires.txt +0 -1
- vswmc_cli-2.2.0.dev355/vswmc/__init__.py +0 -5
- vswmc_cli-2.2.0.dev355/vswmc_cli.egg-info/namespace_packages.txt +0 -1
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/LICENSE +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/MANIFEST.in +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/README.md +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/setup.cfg +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/__init__.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/cp.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/logs.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/ls.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/models.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/products.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/ps.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/rm.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/run.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/save.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/simulations.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/stop.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/cli/utils.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/client.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/core/__init__.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/core/auth.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/core/exceptions.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/core/helpers.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc/sockjs.py +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc_cli.egg-info/dependency_links.txt +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc_cli.egg-info/entry_points.txt +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc_cli.egg-info/not-zip-safe +0 -0
- {vswmc_cli-2.2.0.dev355 → vswmc_cli-2.2.1}/vswmc_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vswmc-cli
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: VSWMC Command-Line Tools
|
|
5
5
|
Home-page: https://spaceweather.hpc.kuleuven.be
|
|
6
6
|
Author: Rays of Space
|
|
@@ -26,7 +26,6 @@ Description-Content-Type: text/markdown
|
|
|
26
26
|
License-File: LICENSE
|
|
27
27
|
Requires-Dist: six
|
|
28
28
|
Requires-Dist: requests
|
|
29
|
-
Requires-Dist: setuptools
|
|
30
29
|
Dynamic: author
|
|
31
30
|
Dynamic: author-email
|
|
32
31
|
Dynamic: classifier
|
|
@@ -11,7 +11,7 @@ packages = [
|
|
|
11
11
|
|
|
12
12
|
setuptools.setup(
|
|
13
13
|
name="vswmc-cli",
|
|
14
|
-
version="2.2.
|
|
14
|
+
version="2.2.1",
|
|
15
15
|
description="VSWMC Command-Line Tools",
|
|
16
16
|
long_description=readme,
|
|
17
17
|
long_description_content_type="text/markdown",
|
|
@@ -20,7 +20,6 @@ setuptools.setup(
|
|
|
20
20
|
author_email="info@raysofspace.com",
|
|
21
21
|
license="LGPL",
|
|
22
22
|
packages=packages,
|
|
23
|
-
namespace_packages=["vswmc"],
|
|
24
23
|
entry_points={"console_scripts": ["vswmc = vswmc.cli.__main__:main"]},
|
|
25
24
|
classifiers=[
|
|
26
25
|
"Development Status :: 4 - Beta",
|
|
@@ -43,7 +42,6 @@ setuptools.setup(
|
|
|
43
42
|
install_requires=[
|
|
44
43
|
"six",
|
|
45
44
|
"requests",
|
|
46
|
-
"setuptools",
|
|
47
45
|
],
|
|
48
46
|
include_package_data=True,
|
|
49
47
|
zip_safe=False,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""VSWMC command-line client package."""
|
|
@@ -3,7 +3,6 @@ from __future__ import print_function
|
|
|
3
3
|
import argparse
|
|
4
4
|
import logging
|
|
5
5
|
|
|
6
|
-
import pkg_resources
|
|
7
6
|
from vswmc.cli import (
|
|
8
7
|
cp,
|
|
9
8
|
logs,
|
|
@@ -19,6 +18,21 @@ from vswmc.cli import (
|
|
|
19
18
|
)
|
|
20
19
|
|
|
21
20
|
|
|
21
|
+
try:
|
|
22
|
+
from importlib import metadata as importlib_metadata
|
|
23
|
+
except ImportError:
|
|
24
|
+
importlib_metadata = None
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def get_version():
|
|
28
|
+
if importlib_metadata is None:
|
|
29
|
+
return "unknown"
|
|
30
|
+
try:
|
|
31
|
+
return importlib_metadata.version("vswmc-cli")
|
|
32
|
+
except importlib_metadata.PackageNotFoundError:
|
|
33
|
+
return "unknown"
|
|
34
|
+
|
|
35
|
+
|
|
22
36
|
class SubCommandHelpFormatter(argparse.RawDescriptionHelpFormatter):
|
|
23
37
|
def _format_action(self, action):
|
|
24
38
|
# Removes the subparsers metavar from the help output
|
|
@@ -29,14 +43,13 @@ class SubCommandHelpFormatter(argparse.RawDescriptionHelpFormatter):
|
|
|
29
43
|
|
|
30
44
|
|
|
31
45
|
def main():
|
|
32
|
-
dist = pkg_resources.get_distribution("vswmc-cli")
|
|
33
46
|
parser = argparse.ArgumentParser(
|
|
34
47
|
description=None, formatter_class=SubCommandHelpFormatter
|
|
35
48
|
)
|
|
36
49
|
parser.add_argument(
|
|
37
50
|
"--version",
|
|
38
51
|
action="version",
|
|
39
|
-
version=
|
|
52
|
+
version=get_version(),
|
|
40
53
|
help="Print version information and quit",
|
|
41
54
|
)
|
|
42
55
|
parser.add_argument("--token", help="S2P OAuth access token")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vswmc-cli
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: VSWMC Command-Line Tools
|
|
5
5
|
Home-page: https://spaceweather.hpc.kuleuven.be
|
|
6
6
|
Author: Rays of Space
|
|
@@ -26,7 +26,6 @@ Description-Content-Type: text/markdown
|
|
|
26
26
|
License-File: LICENSE
|
|
27
27
|
Requires-Dist: six
|
|
28
28
|
Requires-Dist: requests
|
|
29
|
-
Requires-Dist: setuptools
|
|
30
29
|
Dynamic: author
|
|
31
30
|
Dynamic: author-email
|
|
32
31
|
Dynamic: classifier
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
LICENSE
|
|
2
2
|
MANIFEST.in
|
|
3
3
|
README.md
|
|
4
|
+
pyproject.toml
|
|
4
5
|
setup.cfg
|
|
5
6
|
setup.py
|
|
6
7
|
vswmc/__init__.py
|
|
@@ -28,7 +29,6 @@ vswmc_cli.egg-info/PKG-INFO
|
|
|
28
29
|
vswmc_cli.egg-info/SOURCES.txt
|
|
29
30
|
vswmc_cli.egg-info/dependency_links.txt
|
|
30
31
|
vswmc_cli.egg-info/entry_points.txt
|
|
31
|
-
vswmc_cli.egg-info/namespace_packages.txt
|
|
32
32
|
vswmc_cli.egg-info/not-zip-safe
|
|
33
33
|
vswmc_cli.egg-info/requires.txt
|
|
34
34
|
vswmc_cli.egg-info/top_level.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
vswmc
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|