minishell 2.0.0__tar.gz → 2.0.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.
@@ -0,0 +1 @@
1
+ dist/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: minishell
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Bash replacement library for Python
5
5
  Project-URL: Homepage, https://github.com/y9san9/minishell
6
6
  Project-URL: Issues, https://github.com/y9san9/minishell/issues
@@ -49,9 +49,6 @@ shell("ls -la | grep test")
49
49
  filename = "file with spaces.txt"
50
50
  shell("rm {}", filename)
51
51
 
52
- # Multiple arguments
53
- shell("git commit -m {}", "Fix: Handle edge cases")
54
-
55
52
  # Capture output
56
53
  result = shell.read("pwd")
57
54
  print("Current dir:", result.output)
@@ -35,9 +35,6 @@ shell("ls -la | grep test")
35
35
  filename = "file with spaces.txt"
36
36
  shell("rm {}", filename)
37
37
 
38
- # Multiple arguments
39
- shell("git commit -m {}", "Fix: Handle edge cases")
40
-
41
38
  # Capture output
42
39
  result = shell.read("pwd")
43
40
  print("Current dir:", result.output)
@@ -31,6 +31,10 @@ from dataclasses import dataclass
31
31
  from typing import override
32
32
 
33
33
 
34
+ __all__ = ["ExecResult", "ReadResult", "Shell", "shell", "Read",
35
+ "ArgsNamespace", "TempFile"]
36
+
37
+
34
38
  @dataclass
35
39
  class ExecResult:
36
40
  ok: bool
File without changes
@@ -4,9 +4,9 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "minishell"
7
- version = "2.0.0"
7
+ version = "2.0.2"
8
8
  authors = [
9
- { name="y9san9", email="pypi@y9san9.me" },
9
+ { name = "y9san9", email = "pypi@y9san9.me" },
10
10
  ]
11
11
  description = "Bash replacement library for Python"
12
12
  readme = "README.md"
@@ -21,3 +21,7 @@ license-files = ["LICENSE"]
21
21
  [project.urls]
22
22
  Homepage = "https://github.com/y9san9/minishell"
23
23
  Issues = "https://github.com/y9san9/minishell/issues"
24
+
25
+ [tool.hatch.build.targets.wheel]
26
+ py-modules = ["minishell"]
27
+ include = ["py.typed"]
@@ -1,2 +0,0 @@
1
- # Created by venv; see https://docs.python.org/3/library/venv.html
2
- *
@@ -1 +0,0 @@
1
- from .minishell import *
File without changes