From 3dc645949469e857c961f4a26025c18337c61131 Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 14 Apr 2015 17:34:52 -0400 Subject: [PATCH 1/7] add classifiers to python-sunlight --- setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index df3633c..e749837 100755 --- a/setup.py +++ b/setup.py @@ -23,5 +23,12 @@ license = "BSD", url = "https://github.com/sunlightlabs/python-sunlight", - platforms = ['any'] + platforms = ['any'], + + classifiers = ['Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4'], ) From c92a0e4e1b0bc6e4843ff434b006a4a6e452976b Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 14 Apr 2015 17:54:14 -0400 Subject: [PATCH 2/7] try adding a travis file --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ddad0c6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: python +python: +- '2.7' +- '3.4' +install: pip install -r dev-requirements.txt +script: py.test sunlight +notifications: + email: + - jturk@sunlightfoundation.com +env: + global: + secure: tZG/BC42iOQb0hf7dVLPJkdHlmkwXeecF9MEiLaB1U/Gelna45JZQplO3h0vfzbFRqnOoGPAUWhEtHeenKfcHivdOc07YfdPbSjoUlyXdsIIMvHBd559D7wnKo75tzHMrg8Pgn73CabzoVPa0orjknYe8eyMZxXMXGdKwC7HQSQ= From c151724bf055529144622dc52839d3e6915c61ef Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 27 May 2015 12:50:37 -0400 Subject: [PATCH 3/7] Update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddad0c6..4deb8e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: python python: -- '2.7' -- '3.4' + - '2.7' + - '3.4' install: pip install -r dev-requirements.txt script: py.test sunlight notifications: From bc52f064f51a4a371a105fcefda0920e42222a21 Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 27 May 2015 13:00:50 -0400 Subject: [PATCH 4/7] just plain py.test --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4deb8e8..e603f89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ python: - '2.7' - '3.4' install: pip install -r dev-requirements.txt -script: py.test sunlight +script: py.test notifications: email: - jturk@sunlightfoundation.com From 9e5c944677ce8451b5dfaa7caa73b8e993d379d4 Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 27 May 2015 13:24:42 -0400 Subject: [PATCH 5/7] fix boundary id in tests --- tests/services/test_openstates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/services/test_openstates.py b/tests/services/test_openstates.py index 43530cb..3eb9ec1 100644 --- a/tests/services/test_openstates.py +++ b/tests/services/test_openstates.py @@ -22,7 +22,7 @@ def setUp(self): self.a_committee_id = 'NCC000169' self.a_state_with_events = 'tx' self.an_event_id = 'TXE00026474' - self.a_boundary_id = 'sldl/nc-1' + self.a_boundary_id = 'ocd-division/country:us/state:nc/sldl:1' def test_bad__get_url(self): with self.assertRaises(BadRequestException): From f61735e9db9e3c395a1a69f9d84aae4246484e80 Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Wed, 27 May 2015 13:40:34 -0400 Subject: [PATCH 6/7] remove whitespace --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e749837..7526fdf 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ url = "https://github.com/sunlightlabs/python-sunlight", platforms = ['any'], - + classifiers = ['Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', From f3bf14a2545477a6b275077c55e4092c9f4f98ec Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Wed, 27 May 2015 13:41:10 -0400 Subject: [PATCH 7/7] Release 1.2.9 --- sunlight/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunlight/__init__.py b/sunlight/__init__.py index 1227066..be9abdd 100644 --- a/sunlight/__init__.py +++ b/sunlight/__init__.py @@ -11,7 +11,7 @@ """ __appname__ = "sunlight" -__version__ = "1.2.8" +__version__ = "1.2.9" import sunlight.services.openstates import sunlight.services.capitolwords