-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from aerispaha/py3
Python 2/3 Compatibility
- Loading branch information
Showing
31 changed files
with
660 additions
and
88 deletions.
There are no files selected for viewing
This file contains 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 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,7 +1,7 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
# - "3.6" | ||
- "3.6" | ||
# - "3.7" | ||
# command to install dependencies | ||
install: | ||
|
This file contains 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 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,38 @@ | ||
#matrix: | ||
# fast_finish: true | ||
|
||
#branches: | ||
# only: | ||
# - master | ||
# - /dev-.*/ | ||
|
||
environment: | ||
matrix: | ||
# For Python versions available on Appveyor, see | ||
# http://www.appveyor.com/docs/installed-software#python | ||
# The list here is complete (excluding Python 2.6, which | ||
# isn't covered by this document) at the time of writing. | ||
- PYTHON: "C:\\Python27" | ||
- PYTHON: "C:\\Python36" | ||
|
||
install: | ||
- "%PYTHON%\\python setup.py develop" | ||
- "%PYTHON%\\python.exe -m pip install -r %APPVEYOR_BUILD_FOLDER%\\requirements.txt -q" | ||
|
||
build: off | ||
|
||
test_script: | ||
|
||
- "%PYTHON%\\Scripts\\pytest %APPVEYOR_BUILD_FOLDER%" | ||
|
||
# Asserting pep8 formatting checks (using autopep8 tool) | ||
# - ps: | | ||
# $output = C:\\Python36\\Scripts\\autopep8 -d --recursive . | ||
# if($output) | ||
# { | ||
# echo $output; | ||
# $host.SetShouldExit(1) | ||
# Write-Host "autopep8 failed: | ||
# Please this command locally: | ||
# 'autopep8 -i -a -r .'" | ||
# } |
This file contains 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,7 +1,7 @@ | ||
# Build dependencies | ||
#python | ||
pytest | ||
pillow==3.0.0 | ||
pillow | ||
numpy | ||
pandas | ||
pyshp | ||
|
This file contains 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 |
---|---|---|
|
@@ -6,12 +6,13 @@ def read(fname): | |
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
|
||
|
||
VERSION = '0.2.1' | ||
VERSION = '0.3.0' | ||
AUTHOR_NAME = 'Adam Erispaha' | ||
AUTHOR_EMAIL = '[email protected]' | ||
|
||
install_requires = [ | ||
'pillow==3.0.0', | ||
# 'pillow==3.0.0', | ||
'Pillow', | ||
'numpy', | ||
'pandas', | ||
'pyshp', | ||
|
This file contains 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 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 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 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 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 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 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 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 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 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
Oops, something went wrong.