diff options
author | Clayton Craft | 2018-05-30 16:10:28 -0700 |
---|---|---|
committer | Clayton Craft | 2018-05-30 16:10:28 -0700 |
commit | ddcdf549a4e55d4eb5b4dc874ac83c0e90f8fe83 (patch) | |
tree | 41e799a050f82348ae4c13f435c13d3000e34f7d /0001-fix-python-3.5.patch | |
parent | a8f985c0a3cd59a0140aef1b655d453a18dc5904 (diff) | |
download | aur-python-geohash.tar.gz |
Fix issue with Python >= 3.5 and change maintainership
Diffstat (limited to '0001-fix-python-3.5.patch')
-rw-r--r-- | 0001-fix-python-3.5.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/0001-fix-python-3.5.patch b/0001-fix-python-3.5.patch new file mode 100644 index 000000000000..72eb7f20f00c --- /dev/null +++ b/0001-fix-python-3.5.patch @@ -0,0 +1,30 @@ +diff --git a/Geohash/__init__.py b/geohash/__init__.py +similarity index 93% +rename from Geohash/__init__.py +rename to geohash/__init__.py +index ff95dfe..2a92614 100644 +--- a/Geohash/__init__.py ++++ b/geohash/__init__.py +@@ -18,4 +18,4 @@ You should have received a copy of the GNU Affero General Public + License along with Geohash. If not, see + <http://www.gnu.org/licenses/>. + """ +-from geohash import decode_exactly, decode, encode ++from .geohash import decode_exactly, decode, encode +diff --git a/Geohash/geohash.py b/geohash/geohash.py +similarity index 100% +rename from Geohash/geohash.py +rename to geohash/geohash.py +diff --git a/setup.py b/setup.py +index 4103635..b243ff9 100644 +--- a/setup.py ++++ b/setup.py +@@ -20,7 +20,7 @@ License along with Geohash. If not, see + """ + from setuptools import setup, find_packages + setup( +- name = "Geohash", ++ name = "geohash", + version = "1.0", + packages = find_packages(), + |