aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
authorEduardo Julian2021-10-01 02:59:09 -0400
committerEduardo Julian2021-10-01 02:59:09 -0400
commit628356261aa9539b4f438ffd369a2638dc9506bd (patch)
tree917b4118194d14b4d5fe5efc93091977d4caebdf /lux-python
parent8196ab379495ab00c11b74b55b6f2fabd99ab351 (diff)
Commercial licensing option for Lux + release versions for sub-projects.
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/project.clj5
-rw-r--r--lux-python/project.lux6
-rw-r--r--lux-python/source/program.lux4
3 files changed, 7 insertions, 8 deletions
diff --git a/lux-python/project.clj b/lux-python/project.clj
index 88f4cec40..3367a2819 100644
--- a/lux-python/project.clj
+++ b/lux-python/project.clj
@@ -1,4 +1,4 @@
-(def version "0.6.0-SNAPSHOT")
+(def version "0.6.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype-releases "https://oss.sonatype.org/service/local/staging/deploy/maven2/")
(def sonatype-snapshots "https://oss.sonatype.org/content/repositories/snapshots/")
@@ -14,8 +14,7 @@
[:name "Eduardo Julian"]
[:url "https://github.com/eduardoejp"]]]
- :repositories [["releases" ~sonatype-releases]
- ["snapshots" ~sonatype-snapshots]]
+ :repositories [["snapshots" ~sonatype-snapshots]]
:deploy-repositories [["releases" {:url ~sonatype-releases :creds :gpg}]
["snapshots" {:url ~sonatype-snapshots :creds :gpg}]]
diff --git a/lux-python/project.lux b/lux-python/project.lux
index 2f6627b83..4c0b4dfa4 100644
--- a/lux-python/project.lux
+++ b/lux-python/project.lux
@@ -1,5 +1,5 @@
[""
- ["identity" ["com.github.luxlang" "lux-python" "0.6.0-SNAPSHOT"]
+ ["identity" ["com.github.luxlang" "lux-python" "0.6.0"]
"deploy_repositories" ["snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
"releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
@@ -7,8 +7,8 @@
"repositories" ["https://oss.sonatype.org/content/repositories/snapshots/"
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
- "compiler" ["com.github.luxlang" "lux-jvm" "0.6.0-SNAPSHOT" "jar"]
- "dependencies" [["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT" "tar"]
+ "compiler" ["com.github.luxlang" "lux-jvm" "0.6.0" "jar"]
+ "dependencies" [["com.github.luxlang" "stdlib" "0.6.0" "tar"]
["org.python" "jython-standalone" "2.7.2" "jar"]]
"program" "program"]]
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index 5383c1b0d..8fb761f0f 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -91,7 +91,7 @@
(import: org/python/core/PyObject
["[1]::[0]"
- ... (asInt [] int)
+ (asInt [] java/lang/Integer)
(asLong [] long)
(asDouble [] double)
(asString [] java/lang/String)
@@ -367,7 +367,7 @@
(All (_ s i o)
(-> (List Any) (Phase [extension.Bundle s] i o)
org/python/core/PyObject))
- (<| (ffi.:as org/python/core/PyObject)
+ (<| (:as org/python/core/PyObject)
(ffi.object [] org/python/core/PyObject []
[]
... Methods