File tree Expand file tree Collapse file tree 7 files changed +66
-13
lines changed Expand file tree Collapse file tree 7 files changed +66
-13
lines changed Original file line number Diff line number Diff line change 1616.idea /
1717* .iml
1818build /
19- * .jython_cache
19+ * .jython_cache
20+ .DS_Store
Original file line number Diff line number Diff line change 4545# built documents.
4646#
4747# The short X.Y version.
48- version = '1.8 '
48+ version = '1.9 '
4949# The full version, including alpha/beta/rc tags.
50- release = '1.8 .0'
50+ release = '1.9 .0'
5151
5252# The language for content autogenerated by Sphinx. Refer to documentation
5353# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ Downloads
66Stable
77------
88
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.
1010
1111.. cssclass :: external
1212
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 >`_
1414
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 66from java import io , net
77from geoscript import util
88from geoscript .workspace import Workspace
9- from org .geotools .data .flatgeobuf import FlatgeobufDataStoreFactory
9+ from org .geotools .data .flatgeobuf import FlatGeobufDataStoreFactory
1010
1111class FlatGeobuf (Workspace ):
1212 """
@@ -17,8 +17,8 @@ class FlatGeobuf(Workspace):
1717
1818 def __init__ (self , dir = None ):
1919 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 )
2222
2323 def __repr__ (self ):
2424 return 'FlatGeobuf[%s]' % str (self ._store .info .source .path )
Original file line number Diff line number Diff line change 44 <groupId >org.geoscript</groupId >
55 <artifactId >geoscript-py</artifactId >
66 <packaging >jar</packaging >
7- <version >1.9-SNAPSHOT </version >
7+ <version >1.9.0 </version >
88 <name >GeoScript Python</name >
99 <repositories >
1010 <repository >
346346 </profile >
347347 </profiles >
348348 <properties >
349- <gt .version>26-SNAPSHOT </gt .version>
349+ <gt .version>26.0 </gt .version>
350350 </properties >
351351</project >
Original file line number Diff line number Diff line change 1+
2+ # Install Jython
3+
14curl https://repo1.maven.org/maven2/org/python/jython-installer/2.7.2/jython-installer-2.7.2.jar -o target/jython-installer.jar
25
36java -jar target/jython-installer.jar -s -d target/jython
47
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):
3636 self .distribution .dist_files .append (file )
3737
3838
39- ver = '1.8 .0'
39+ ver = '1.9 .0'
4040jars = ['jars/%s' % (f ) for f in os .listdir ('jars' )]
4141setup (cmdclass = {'src' : SrcCmd , 'doc' : DocCmd },
4242 name = 'geoscript' ,
You can’t perform that action at this time.
0 commit comments