Skip to content

Commit 65964e7

Browse files
committed
2016-05-28
1 parent 7b76d8c commit 65964e7

5 files changed

Lines changed: 5 additions & 37 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
include README.rst LICENSE.txt requirements.txt release_history.rst
1+
include README.rst LICENSE.txt requirements.txt
22
recursive-include uszipcode *.*
File renamed without changes.

install-win.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pushd "%~dp0"
22
cd uszipcode
3+
python zzz_manual_install.py
34
python3 zzz_manual_install.py

long_description.rst

Lines changed: 0 additions & 35 deletions
This file was deleted.

uszipcode/data/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
- 2015-10-01 geometry google map geocoding data from http://maps.google.com
1313
"""
1414

15-
DB_FILE = __file__.replace("__init__.py", "zipcode.sqlite3")
15+
import os
16+
17+
DB_FILE = os.path.join(os.path.dirname(__file__), "zipcode.sqlite3")
1618

1719
# State short name and long name mapping
1820
STATE_ABBR_SHORT_TO_LONG = {

0 commit comments

Comments
 (0)