Skip to content

Commit

Permalink
Support Cython 0.28, and fix failing license headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelson committed Jan 15, 2019
1 parent 454a911 commit 4fc71fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ environment:
PACKAGES: "cython numpy matplotlib-base proj4 pykdtree scipy"
- PYTHON_VERSION: "2.7"
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
PACKAGES: "cython=0.17 numpy=1.10.0 matplotlib=1.5.1 nose proj4=4.9.1 scipy=0.16.0 mock msinttypes futures"
PACKAGES: "cython numpy=1.10.0 matplotlib=1.5.1 nose proj4=4.9.1 scipy=0.16.0 mock msinttypes futures"

install:
# Install miniconda
Expand Down
4 changes: 2 additions & 2 deletions lib/cartopy/trace.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) British Crown Copyright 2011 - 2018, Met Office
# (C) British Crown Copyright 2011 - 2019, Met Office
#
# This file is part of cartopy.
#
Expand Down Expand Up @@ -170,7 +170,7 @@ cdef class LineAccumulator:
&geoms[0], geoms.size())
return geom

cdef list[Line].size_type size(self):
cdef size_t size(self):
return self.lines.size()


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) British Crown Copyright 2011 - 2018, Met Office
# (C) British Crown Copyright 2011 - 2019, Met Office
#
# This file is part of cartopy.
#
Expand Down

0 comments on commit 4fc71fa

Please sign in to comment.