vscode-essentials 0.1.0__tar.gz → 0.2.0__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.
@@ -1,4 +1,4 @@
1
1
  include README.md
2
2
  include LICENSE
3
- recursive-include vsix *.vsix
3
+ recursive-include vscode_essentials *.vsix
4
4
  recursive-include vscode_essentials *
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vscode-essentials
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: Essential utilities for VS Code development
5
5
  Author-email: SAI <me@steveimm.id>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "vscode-essentials"
7
- version = "0.1.0"
7
+ version = "0.2.0"
8
8
  description = "Essential utilities for VS Code development"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -38,4 +38,4 @@ where = ["."]
38
38
  include = ["vscode_essentials*"]
39
39
 
40
40
  [tool.setuptools.package-data]
41
- "*" = ["vsix/*.vsix"]
41
+ "vscode_essentials" = ["vsix/*.vsix"]
@@ -0,0 +1,30 @@
1
+ """
2
+ vscode-essentials: Essential utilities for VS Code development
3
+ """
4
+
5
+ import os
6
+
7
+ __version__ = "0.2.0"
8
+ __author__ = "SAI"
9
+ __email__ = "me@steveimm.id"
10
+
11
+ # You can add your main functions or classes here
12
+ def hello_world():
13
+ """Simple hello world function for testing."""
14
+ return "Hello from vscode-essentials!"
15
+
16
+ def get_vsix_directory():
17
+ """Get the path to the bundled VSIX files."""
18
+ return os.path.join(os.path.dirname(__file__), 'vsix')
19
+
20
+ def list_vsix_files():
21
+ """List all available VSIX files."""
22
+ vsix_dir = get_vsix_directory()
23
+ if os.path.exists(vsix_dir):
24
+ return [f for f in os.listdir(vsix_dir) if f.endswith('.vsix')]
25
+ return []
26
+
27
+ def get_vsix_path(filename):
28
+ """Get the full path to a specific VSIX file."""
29
+ vsix_dir = get_vsix_directory()
30
+ return os.path.join(vsix_dir, filename)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vscode-essentials
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: Essential utilities for VS Code development
5
5
  Author-email: SAI <me@steveimm.id>
6
6
  License: MIT
@@ -7,5 +7,7 @@ vscode_essentials.egg-info/PKG-INFO
7
7
  vscode_essentials.egg-info/SOURCES.txt
8
8
  vscode_essentials.egg-info/dependency_links.txt
9
9
  vscode_essentials.egg-info/top_level.txt
10
- vsix/continue.continue-0.0.412.vsix
11
- vsix/ms-python.python-2024.8.1.vsix
10
+ vscode_essentials/__pycache__/__init__.cpython-311.pyc
11
+ vscode_essentials/vsix/.gitkeep
12
+ vscode_essentials/vsix/continue.continue-0.0.412.vsix
13
+ vscode_essentials/vsix/ms-python.python-2024.8.1.vsix
@@ -1,12 +0,0 @@
1
- """
2
- vscode-essentials: Essential utilities for VS Code development
3
- """
4
-
5
- __version__ = "0.1.0"
6
- __author__ = "Your Name"
7
- __email__ = "your.email@example.com"
8
-
9
- # You can add your main functions or classes here
10
- def hello_world():
11
- """Simple hello world function for testing."""
12
- return "Hello from vscode-essentials!"