grasp-sdk 0.1.2__tar.gz → 0.1.3__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.
- {grasp_sdk-0.1.2/grasp_sdk.egg-info → grasp_sdk-0.1.3}/PKG-INFO +1 -1
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3/grasp_sdk.egg-info}/PKG-INFO +1 -1
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/pyproject.toml +1 -1
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/setup.py +11 -1
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/MANIFEST.in +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/README.md +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/build_and_publish.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/example_usage.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/__init__.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/models/__init__.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/sandbox/chrome-stable.mjs +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/sandbox/chromium.mjs +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/sandbox/jsconfig.json +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/services/__init__.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/services/browser.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/services/sandbox.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/utils/__init__.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/utils/auth.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/utils/config.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk/utils/logger.py +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk.egg-info/SOURCES.txt +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk.egg-info/dependency_links.txt +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk.egg-info/entry_points.txt +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk.egg-info/not-zip-safe +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk.egg-info/requires.txt +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/grasp_sdk.egg-info/top_level.txt +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/py.typed +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/requirements.txt +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/setup.cfg +0 -0
- {grasp_sdk-0.1.2 → grasp_sdk-0.1.3}/test_install.py +0 -0
|
@@ -2,15 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
from setuptools import setup, find_packages
|
|
4
4
|
import os
|
|
5
|
+
import re
|
|
5
6
|
|
|
6
7
|
# Read the contents of your README file
|
|
7
8
|
this_directory = os.path.abspath(os.path.dirname(__file__))
|
|
8
9
|
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|
9
10
|
long_description = f.read()
|
|
10
11
|
|
|
12
|
+
# Read version from pyproject.toml
|
|
13
|
+
def get_version():
|
|
14
|
+
with open(os.path.join(this_directory, 'pyproject.toml'), 'r', encoding='utf-8') as f:
|
|
15
|
+
content = f.read()
|
|
16
|
+
version_match = re.search(r'version = "([^"]+)"', content)
|
|
17
|
+
if version_match:
|
|
18
|
+
return version_match.group(1)
|
|
19
|
+
raise RuntimeError("Unable to find version string in pyproject.toml")
|
|
20
|
+
|
|
11
21
|
setup(
|
|
12
22
|
name="grasp_sdk",
|
|
13
|
-
version=
|
|
23
|
+
version=get_version(),
|
|
14
24
|
author="Grasp Team",
|
|
15
25
|
author_email="team@grasp.com",
|
|
16
26
|
description="Python SDK for Grasp E2B - Browser automation and sandbox management",
|
|
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
|