Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

CLIMATE-842 - Add shape files to package installation #382

Merged
merged 1 commit into from Aug 3, 2016

Conversation

agoodm
Copy link
Member

@agoodm agoodm commented Aug 3, 2016

This PR makes the following changes:

  • Added the ocw/shape directory to the package build.
  • Set zip_safe to False in the setup script. This means 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.

@OCWJenkins
Copy link

Can one of the admins verify this patch?

@asfgit asfgit merged commit 27c1c94 into apache:master Aug 3, 2016
@agoodm agoodm deleted the CLIMATE-842 branch August 3, 2016 22:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants