GitHub user agoodm opened a pull request: https://github.com/apache/climate/pull/382
CLIMATE-842 - Add shape files to package installation 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 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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/agoodm/climate CLIMATE-842 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/climate/pull/382.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #382 ---- commit 27c1c94b7177a234f23fed5c7bbd63e533de2223 Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-08-03T20:48:14Z CLIMATE-842 - Add shape files to package installation ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---