Skip to content

Commit 862647c

Browse files
committed
Release 1.9.0
1 parent 44eed74 commit 862647c

File tree

7 files changed

+66
-13
lines changed

7 files changed

+66
-13
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ site
1616
.idea/
1717
*.iml
1818
build/
19-
*.jython_cache
19+
*.jython_cache
20+
.DS_Store

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
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.

doc/download.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Downloads
66
Stable
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>`_

geoscript/workspace/flatgeobuf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from java import io, net
77
from geoscript import util
88
from geoscript.workspace import Workspace
9-
from org.geotools.data.flatgeobuf import FlatgeobufDataStoreFactory
9+
from org.geotools.data.flatgeobuf import FlatGeobufDataStoreFactory
1010

1111
class 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)

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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>
@@ -346,6 +346,6 @@
346346
</profile>
347347
</profiles>
348348
<properties>
349-
<gt.version>26-SNAPSHOT</gt.version>
349+
<gt.version>26.0</gt.version>
350350
</properties>
351351
</project>

scripts/install_jython.sh

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
1+
2+
# Install Jython
3+
14
curl https://repo1.maven.org/maven2/org/python/jython-installer/2.7.2/jython-installer-2.7.2.jar -o target/jython-installer.jar
25

36
java -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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'
4040
jars = ['jars/%s' % (f) for f in os.listdir('jars')]
4141
setup(cmdclass={'src': SrcCmd, 'doc': DocCmd},
4242
name='geoscript',

0 commit comments

Comments
 (0)