File tree 7 files changed +66
-13
lines changed 7 files changed +66
-13
lines changed Original file line number Diff line number Diff line change 16
16
.idea /
17
17
* .iml
18
18
build /
19
- * .jython_cache
19
+ * .jython_cache
20
+ .DS_Store
Original file line number Diff line number Diff line change 45
45
# built documents.
46
46
#
47
47
# The short X.Y version.
48
- version = '1.8 '
48
+ version = '1.9 '
49
49
# The full version, including alpha/beta/rc tags.
50
- release = '1.8 .0'
50
+ release = '1.9 .0'
51
51
52
52
# The language for content autogenerated by Sphinx. Refer to documentation
53
53
# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ Downloads
6
6
Stable
7
7
------
8
8
9
- The current stable release of GeoScript PY is 1.8 .0. Select a file to download from below.
9
+ The current stable release of GeoScript PY is 1.9 .0. Select a file to download from below.
10
10
11
11
.. cssclass :: external
12
12
13
- * `tar.gz <https://github.com/geoscript/geoscript-py/releases/download/v1.8 .0/geoscript-1.8 .0.tar.gz >`_
13
+ * `tar.gz <https://github.com/geoscript/geoscript-py/releases/download/v1.9 .0/geoscript-1.9 .0.tar.gz >`_
14
14
15
- * `zip <https://github.com/geoscript/geoscript-py/releases/download/v1.8 .0/geoscript-1.8 .0.zip >`_
15
+ * `zip <https://github.com/geoscript/geoscript-py/releases/download/v1.9 .0/geoscript-1.9 .0.zip >`_
Original file line number Diff line number Diff line change 6
6
from java import io , net
7
7
from geoscript import util
8
8
from geoscript .workspace import Workspace
9
- from org .geotools .data .flatgeobuf import FlatgeobufDataStoreFactory
9
+ from org .geotools .data .flatgeobuf import FlatGeobufDataStoreFactory
10
10
11
11
class FlatGeobuf (Workspace ):
12
12
"""
@@ -17,8 +17,8 @@ class FlatGeobuf(Workspace):
17
17
18
18
def __init__ (self , dir = None ):
19
19
dir = dir or os .getcwd ()
20
- params = {'flatgeobuf-file ' : util .toFile (dir )}
21
- Workspace .__init__ (self , FlatgeobufDataStoreFactory (), params )
20
+ params = {'url ' : util .toURL ( util . toFile (dir ) )}
21
+ Workspace .__init__ (self , FlatGeobufDataStoreFactory (), params )
22
22
23
23
def __repr__ (self ):
24
24
return 'FlatGeobuf[%s]' % str (self ._store .info .source .path )
Original file line number Diff line number Diff line change 4
4
<groupId >org.geoscript</groupId >
5
5
<artifactId >geoscript-py</artifactId >
6
6
<packaging >jar</packaging >
7
- <version >1.9-SNAPSHOT </version >
7
+ <version >1.9.0 </version >
8
8
<name >GeoScript Python</name >
9
9
<repositories >
10
10
<repository >
346
346
</profile >
347
347
</profiles >
348
348
<properties >
349
- <gt .version>26-SNAPSHOT </gt .version>
349
+ <gt .version>26.0 </gt .version>
350
350
</properties >
351
351
</project >
Original file line number Diff line number Diff line change
1
+
2
+ # Install Jython
3
+
1
4
curl https://repo1.maven.org/maven2/org/python/jython-installer/2.7.2/jython-installer-2.7.2.jar -o target/jython-installer.jar
2
5
3
6
java -jar target/jython-installer.jar -s -d target/jython
4
7
5
- target/jython/bin/jython -m pip install nose simplejson py-dom-xpath-redux
8
+ # Pip for Jython is currently broken because of the lack of SNI support (https://github.com/jython/jython/issues/97)
9
+ # target/jython/bin/jython -m pip install nose simplejson py-dom-xpath-redux
10
+
11
+ # Install Nose
12
+
13
+ curl https://files.pythonhosted.org/packages/58/a5/0dc93c3ec33f4e281849523a5a913fa1eea9a3068acfa754d44d88107a44/nose-1.3.7.tar.gz -o target/nose-1.3.7.tar.gz
14
+
15
+ cd target
16
+
17
+ tar -xf nose-1.3.7.tar.gz
18
+
19
+ cd nose-1.3.7
20
+
21
+ ../jython/bin/jython setup.py install
22
+
23
+ cd ..
24
+
25
+ # Install simplejson
26
+
27
+ curl -L https://github.com/simplejson/simplejson/archive/refs/tags/v3.17.5.tar.gz -o simplejson.tar.gz
28
+
29
+ tar -xf simplejson.tar.gz
30
+
31
+ cd simplejson-3.17.5
32
+
33
+ ../jython/bin/jython setup.py install
34
+
35
+ cd ..
36
+
37
+ # Install future
38
+
39
+ curl -L https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz -o future-0.18.2.tar.gz
40
+
41
+ tar -xf future-0.18.2.tar.gz
42
+
43
+ cd future-0.18.2
44
+
45
+ ../jython/bin/jython setup.py install
46
+
47
+ cd ..
48
+
49
+ # Install py-dom-xpath-redux
50
+
51
+ curl -L https://files.pythonhosted.org/packages/47/40/f7599dab3755179126e5f90db187b17e03090b242659ca8cfe8f6b3a54cf/py-dom-xpath-redux-0.1.1.tar.gz -o py-dom-xpath-redux-0.1.1.tar.gz
52
+
53
+ tar -xf py-dom-xpath-redux-0.1.1.tar.gz
54
+
55
+ cd py-dom-xpath-redux-0.1.1
56
+
57
+ ../jython/bin/jython setup.py install
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def run(self):
36
36
self .distribution .dist_files .append (file )
37
37
38
38
39
- ver = '1.8 .0'
39
+ ver = '1.9 .0'
40
40
jars = ['jars/%s' % (f ) for f in os .listdir ('jars' )]
41
41
setup (cmdclass = {'src' : SrcCmd , 'doc' : DocCmd },
42
42
name = 'geoscript' ,
You can’t perform that action at this time.
0 commit comments