Skip to content

Commit 07ecfa3

Browse files
committed
v0.4.0
1 parent 4bc7fe0 commit 07ecfa3

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.4.0
2+
-----
3+
4+
* Add support for address batch functionality, including to command line tool
5+
16
0.3.0
27
-----
38

censusgeocode/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# Copyright (c) 2015-7, Neil Freeman <[email protected]>
1010

1111
from .censusgeocode import CensusGeocode
12-
__version__ = '0.3.0'
12+
__version__ = '0.4.0'

censusgeocode/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def main():
3434
'comma-delimited file of addresses. No header. '
3535
'Must have the following columns: id, street address, city, state, zip. '
3636
'id must be a unique. '
37-
'Read from stdin with -.')
37+
'Read from stdin with -')
3838
)
3939
parser.add_argument('--timeout', metavar='SECONDS', type=int, default=12, help='Request timeout [default: 12]')
4040

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
from setuptools import setup
1212

13+
with open('censusgeocode/__init__.py') as i:
14+
version = next(r for r in i.readlines() if '__version__' in r).split('=')[1].strip('"\' \n')
15+
1316
try:
1417
readme = open('README.rst').read()
1518
except IOError:
@@ -20,7 +23,7 @@
2023

2124
setup(
2225
name='censusgeocode',
23-
version='0.3.0',
26+
version=version,
2427
description='Thin Python wrapper for the US Census Geocoder',
2528
long_description=readme,
2629
keywords='census geocode api',

0 commit comments

Comments
 (0)