multitool 0.7.1__tar.gz → 0.7.2__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.
Files changed (24) hide show
  1. {multitool-0.7.1 → multitool-0.7.2}/PKG-INFO +1 -1
  2. {multitool-0.7.1 → multitool-0.7.2}/multitool/__init__.py +1 -1
  3. {multitool-0.7.1 → multitool-0.7.2}/multitool/plugins/commands.py +3 -3
  4. {multitool-0.7.1 → multitool-0.7.2}/multitool/utils.py +5 -3
  5. {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/PKG-INFO +1 -1
  6. {multitool-0.7.1 → multitool-0.7.2}/pyproject.toml +1 -1
  7. {multitool-0.7.1 → multitool-0.7.2}/LICENSE +0 -0
  8. {multitool-0.7.1 → multitool-0.7.2}/README.rst +0 -0
  9. {multitool-0.7.1 → multitool-0.7.2}/multitool/__main__.py +0 -0
  10. {multitool-0.7.1 → multitool-0.7.2}/multitool/cls.py +0 -0
  11. {multitool-0.7.1 → multitool-0.7.2}/multitool/console.py +0 -0
  12. {multitool-0.7.1 → multitool-0.7.2}/multitool/exceptions.py +0 -0
  13. {multitool-0.7.1 → multitool-0.7.2}/multitool/plugins/__init__.py +0 -0
  14. {multitool-0.7.1 → multitool-0.7.2}/multitool/silent.py +0 -0
  15. {multitool-0.7.1 → multitool-0.7.2}/multitool/utils_init.py +0 -0
  16. {multitool-0.7.1 → multitool-0.7.2}/multitool/verbose.py +0 -0
  17. {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/SOURCES.txt +0 -0
  18. {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/dependency_links.txt +0 -0
  19. {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/entry_points.txt +0 -0
  20. {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/requires.txt +0 -0
  21. {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/top_level.txt +0 -0
  22. {multitool-0.7.1 → multitool-0.7.2}/setup.cfg +0 -0
  23. {multitool-0.7.1 → multitool-0.7.2}/tests/__init__.py +0 -0
  24. {multitool-0.7.1 → multitool-0.7.2}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: multitool
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: Create and run plugin-based command-line tools.
5
5
  Author-email: Matthew Delotavo <matthew.t.delotavo@gmail.com>
6
6
  License-Expression: MIT
@@ -1,5 +1,5 @@
1
1
  APP = "multitool"
2
- __version__ = "0.7.1"
2
+ __version__ = "0.7.2"
3
3
  description = "Create and run plugin-based command-line tools."
4
4
  long_description = ("Create and run plugin-based command-line tools by dynamically loading Click commands from local or Git-managed plugin repositories.")
5
5
 
@@ -381,7 +381,7 @@ def hello(
381
381
  '''
382
382
  )
383
383
 
384
- (root / "multitool-info.json").write_text("""{
384
+ (root / f"{APP}-info.json").write_text("""{
385
385
  "Homepage": "",
386
386
  "Requires": "click",
387
387
  "Maintainer": "",
@@ -403,9 +403,9 @@ def hello(
403
403
  console.echo(f" {module}.py")
404
404
  console.echo()
405
405
  console.echo(" • To use this plugin locally:")
406
- console.echo(" Copy the plugin directory into another Multitool")
406
+ console.echo(f" Copy the plugin directory into another {APP}")
407
407
  console.echo(" plugins directory:")
408
- console.echo(" ~/.multitool/plugins/")
408
+ console.echo(f" ~/.{APP}/plugins/")
409
409
  console.echo()
410
410
  console.echo(" • To distribute this plugin:")
411
411
  console.echo(" 1. Initialize a Git repository.")
@@ -8,6 +8,8 @@ from pathlib import Path
8
8
 
9
9
  import click
10
10
 
11
+ from multitool import APP
12
+
11
13
 
12
14
  def configure_root_logger(log_file):
13
15
  touch(log_file)
@@ -98,9 +100,9 @@ Plugin command names must be unique across all installed repositories.
98
100
  To resolve this:
99
101
  1. Delete one of the conflicting plugin repositories.
100
102
  2. If the repository was installed from a remote source, remove or comment
101
- out its entry in ~/.multitool/plugins/config (or run
102
- `multitool plugins configure`) before running
103
- `multitool plugins update` again, otherwise it will be reinstalled.
103
+ out its entry in ~/.{APP}/plugins/config (or run
104
+ `{APP} plugins configure`) before running
105
+ `{APP} plugins update` again, otherwise it will be reinstalled.
104
106
  3. Run the command again.
105
107
  4. If another duplicate plugin error appears, repeat these steps until no
106
108
  duplicate plugin command errors remain.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: multitool
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: Create and run plugin-based command-line tools.
5
5
  Author-email: Matthew Delotavo <matthew.t.delotavo@gmail.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "multitool"
7
- version = "0.7.1"
7
+ version = "0.7.2"
8
8
  description = "Create and run plugin-based command-line tools."
9
9
  readme = { file = "README.rst", content-type = "text/x-rst" }
10
10
  requires-python = ">=3.7"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes