climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huiky...@apache.org
Subject [2/2] climate git commit: CLIMATE-842 - Add shape files to package installation - Added the ocw/shape directory to the package build. - Set zip_safe to False in the setup script. This means and builds via conda or pip will maintain the original directory
Date Wed, 03 Aug 2016 22:51:50 GMT
CLIMATE-842 - Add shape files to package installation
- Added the ocw/shape directory to the package build.
- Set zip_safe to False in the setup script. This means and builds via conda or pip will maintain
the original directory structure of the ocw directory instead of bundling everything into
a binary .egg file. This will make imports a tad slower, but it is necessary in order to ensure
that the shapefiles can be found. It also allows users to more easily check the source code
on their machines.
- Renamed usa_states shapefiles to "us_states", so that boundary_type always has the same
name as the shapefile.


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/91ec7f31
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/91ec7f31
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/91ec7f31

Branch: refs/heads/master
Commit: 91ec7f31c0c1cd6ac77372de7409f070f5d1e723
Parents: d73c3c2 27c1c94
Author: huikyole <huikyole@argo.jpl.nasa.gov>
Authored: Wed Aug 3 15:51:01 2016 -0700
Committer: huikyole <huikyole@argo.jpl.nasa.gov>
Committed: Wed Aug 3 15:51:01 2016 -0700

----------------------------------------------------------------------
 MANIFEST.in              |   1 +
 ocw/dataset.py           |  56 +++++++++++++++++++++---------------------
 ocw/shape/us_states.dbf  | Bin 0 -> 12962 bytes
 ocw/shape/us_states.shp  | Bin 0 -> 222344 bytes
 ocw/shape/us_states.shx  | Bin 0 -> 508 bytes
 ocw/shape/usa_states.dbf | Bin 12962 -> 0 bytes
 ocw/shape/usa_states.shp | Bin 222344 -> 0 bytes
 ocw/shape/usa_states.shx | Bin 508 -> 0 bytes
 setup.py                 |  14 ++++++++---
 9 files changed, 40 insertions(+), 31 deletions(-)
----------------------------------------------------------------------



Mime
View raw message