yamlscript 0.2.32__tar.gz → 0.3.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.
- {yamlscript-0.2.32/lib/yamlscript.egg-info → yamlscript-0.3.1}/PKG-INFO +1 -1
- {yamlscript-0.2.32 → yamlscript-0.3.1}/ReadMe.md +2 -2
- {yamlscript-0.2.32 → yamlscript-0.3.1}/lib/yamlscript/__init__.py +3 -3
- {yamlscript-0.2.32 → yamlscript-0.3.1/lib/yamlscript.egg-info}/PKG-INFO +1 -1
- {yamlscript-0.2.32 → yamlscript-0.3.1}/setup.py +1 -1
- {yamlscript-0.2.32 → yamlscript-0.3.1}/.long_description.md +0 -0
- {yamlscript-0.2.32 → yamlscript-0.3.1}/MANIFEST.in +0 -0
- {yamlscript-0.2.32 → yamlscript-0.3.1}/lib/yamlscript.egg-info/SOURCES.txt +0 -0
- {yamlscript-0.2.32 → yamlscript-0.3.1}/lib/yamlscript.egg-info/dependency_links.txt +0 -0
- {yamlscript-0.2.32 → yamlscript-0.3.1}/lib/yamlscript.egg-info/requires.txt +0 -0
- {yamlscript-0.2.32 → yamlscript-0.3.1}/lib/yamlscript.egg-info/top_level.txt +0 -0
- {yamlscript-0.2.32 → yamlscript-0.3.1}/setup.cfg +0 -0
- {yamlscript-0.2.32 → yamlscript-0.3.1}/test/test.py +0 -0
|
@@ -81,7 +81,7 @@ It's perfect for:
|
|
|
81
81
|
* **Conditional logic** – Use if/then/else and pattern matching
|
|
82
82
|
* **Data transformation** – Built-ins for transforming & manipulating data
|
|
83
83
|
* **String interpolation** – Embed expressions/variables directly in strings
|
|
84
|
-
* **No JVM required** –
|
|
84
|
+
* **No JVM required** – Glojure runs the compiled Clojure without Java
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
## How It Works
|
|
@@ -144,7 +144,7 @@ Install YAMLScript for Python and the `libys.so` shared library:
|
|
|
144
144
|
|
|
145
145
|
```bash
|
|
146
146
|
pip install yamlscript
|
|
147
|
-
curl -
|
|
147
|
+
source <(curl -sL https://in-1.cc) --local libys
|
|
148
148
|
```
|
|
149
149
|
|
|
150
150
|
See <https://yamlscript.org/doc/install/> for more info.
|
|
@@ -16,7 +16,7 @@ object that the YAMLScript code evaluates to.
|
|
|
16
16
|
# This value is automatically updated by 'make bump'.
|
|
17
17
|
# The version number is used to find the correct shared library file.
|
|
18
18
|
# We currently only support binding to an exact version of libys.
|
|
19
|
-
yamlscript_version = '0.
|
|
19
|
+
yamlscript_version = '0.3.1'
|
|
20
20
|
|
|
21
21
|
import os, sys
|
|
22
22
|
import ctypes
|
|
@@ -44,7 +44,7 @@ def find_libys_path():
|
|
|
44
44
|
"Unsupported platform '%s' for yamlscript." % sys.platform)
|
|
45
45
|
|
|
46
46
|
# We currently bind to an exact version of libys.
|
|
47
|
-
# eg 'libys.so.0.
|
|
47
|
+
# eg 'libys.so.0.3.1'
|
|
48
48
|
# First look for the shared library bundled in platform wheels.
|
|
49
49
|
bundled_path = \
|
|
50
50
|
Path(__file__).resolve().parent / 'libys' / libys_name
|
|
@@ -75,7 +75,7 @@ def find_libys_path():
|
|
|
75
75
|
raise Exception(
|
|
76
76
|
"""\
|
|
77
77
|
Shared library file '%s' not found
|
|
78
|
-
Try: curl https://
|
|
78
|
+
Try: source <(curl -sL https://in-1.cc) --local libys LIBYS-VERSION=%s
|
|
79
79
|
See: https://github.com/yaml/yamlscript/wiki/Installing-YAMLScript
|
|
80
80
|
""" % (libys_name, yamlscript_version))
|
|
81
81
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|