-
Notifications
You must be signed in to change notification settings - Fork 397
Make pyshp and pyproj external dependencies #234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
900c28e
mostly removes pyproj.py
micahcochran ad5cf0e
mostly removes shapefile.py
micahcochran 7d7303d
Update to import pyproj and pyshp "shapefile"
micahcochran 12b182e
update shapefile (pyshp) import location
micahcochran 1208d44
update to pyproj import location
micahcochran 788af31
Update pyproj import location
micahcochran 3c4521b
Update import location for pyproj
micahcochran 66269cf
Deleting LICENSE_pyshp
micahcochran 16092f4
Updates README.md: pyproj and pyshp requirements
micahcochran faf2a2e
pip install -r requirements.txt added .travis.yml
micahcochran 82d77b5
Created requirements.txt
micahcochran fef60e7
Update setup.py: removing PROJ.4
micahcochran fc9ab79
Updating Changelog
micahcochran f3f31fa
__init__.py: corrected spelling of import
micahcochran 6e11c3c
proj.py: update import location for pyproj
micahcochran a990838
Update setup.py: _geoslib.c
micahcochran 9de9ac8
Deleting pyproj.py
micahcochran 3329b83
skip tests under certain conditions
micahcochran b25591c
forgot import pyproj
micahcochran 8a3a8cb
adding pip install nose
micahcochran a35f92c
removed skipif, using SkipTest Exception
micahcochran 616ec79
requirements for Python 2.6
micahcochran 09f5f27
added requirements for Python 2.6, removed nose
micahcochran d4c3848
added @skipIf to skip tests
micahcochran 5600a3f
Delete shapefile.py
micahcochran 4cacb5b
Bumped to Python 2.6 removed comment for pyproj
micahcochran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
unittest2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import numpy as np | ||
from . import pyproj | ||
import pyproj | ||
import math | ||
from matplotlib.cbook import dedent | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if the GEOS stuff can be eliminated? Wasn't only for pyproj? (I could be wrong, though).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is failing because I removed the code from setup.py to compile _geoslib.c which is for GEOS library. Oops.
At first glance, shapely looks like it could be replaced GEOS. Also, that would put the burden of installing GEOS onto shapely package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I suspect we don't need to compile geos anymore. So try taking that
out of the travis yaml. As for shapely, there are definite benefits to
updating the codebase to depend on that very nice package, but I think that
is orthogonal to the problem at hand.
On Tue, Dec 1, 2015 at 1:18 PM, Micah Cochran notifications@github.com
wrote:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume compiling GEOS isn't a huge issue.
Migrating to shapely should be done at a later point in time.