[Python-modules-commits] [python-geoip2] 01/02: Import python-geoip2_2.4.1+dfsg1.orig.tar.gz
Martin Kratochvíl
krata-guest at moszumanska.debian.org
Mon Dec 5 09:31:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
krata-guest pushed a commit to branch master
in repository python-geoip2.
commit 8c14f9628ee91d35aaaf19a7b4d34127f5ffde38
Author: Martin Kratochvíl <martin.kratochvil at firma.seznam.cz>
Date: Mon Dec 5 09:49:07 2016 +0100
Import python-geoip2_2.4.1+dfsg1.orig.tar.gz
---
HISTORY.rst | 6 ++++++
PKG-INFO | 3 ++-
geoip2.egg-info/PKG-INFO | 3 ++-
geoip2/__init__.py | 2 +-
geoip2/records.py | 6 ++++--
setup.py | 18 ++++++------------
6 files changed, 21 insertions(+), 17 deletions(-)
diff --git a/HISTORY.rst b/HISTORY.rst
index 021c2a1..4423f68 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -3,6 +3,12 @@
History
-------
+2.4.1 (2016-11-21)
+++++++++++++++++++
+
+* Updated documentation to clarify what the accuracy radius refers to.
+* Fixed classifiers in ``setup.py``.
+
2.4.0 (2016-06-10)
++++++++++++++++++
diff --git a/PKG-INFO b/PKG-INFO
index bb767a3..420608e 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: geoip2
-Version: 2.4.0
+Version: 2.4.1
Summary: MaxMind GeoIP2 API
Home-page: http://www.maxmind.com/
Author: Gregory Oschwald
@@ -407,6 +407,7 @@ Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: Proxy Servers
Classifier: Topic :: Internet
diff --git a/geoip2.egg-info/PKG-INFO b/geoip2.egg-info/PKG-INFO
index bb767a3..420608e 100644
--- a/geoip2.egg-info/PKG-INFO
+++ b/geoip2.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: geoip2
-Version: 2.4.0
+Version: 2.4.1
Summary: MaxMind GeoIP2 API
Home-page: http://www.maxmind.com/
Author: Gregory Oschwald
@@ -407,6 +407,7 @@ Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: Proxy Servers
Classifier: Topic :: Internet
diff --git a/geoip2/__init__.py b/geoip2/__init__.py
index 590124a..f9cc758 100644
--- a/geoip2/__init__.py
+++ b/geoip2/__init__.py
@@ -1,7 +1,7 @@
# pylint:disable=C0111
__title__ = 'geoip2'
-__version__ = '2.4.0'
+__version__ = '2.4.1'
__author__ = 'Gregory Oschwald'
__license__ = 'Apache License, Version 2.0'
__copyright__ = 'Copyright (c) 2013-2016 Maxmind, Inc.'
diff --git a/geoip2/records.py b/geoip2/records.py
index 7f99d12..6037894 100644
--- a/geoip2/records.py
+++ b/geoip2/records.py
@@ -265,8 +265,10 @@ class Location(Record):
.. attribute:: accuracy_radius
- The radius in kilometers around the specified location where the IP
- address is likely to be.
+ The approximate accuracy radius in kilometers around the latitude and
+ longitude for the IP address. This is the radius where we have a 67%
+ confidence that the device using the IP address resides within the
+ circle centered at the latitude and longitude with the provided radius.
:type: int
diff --git a/setup.py b/setup.py
index 4f10124..d8b6d36 100644
--- a/setup.py
+++ b/setup.py
@@ -6,14 +6,7 @@ import sys
import geoip2
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
-
-if sys.argv[-1] == 'publish':
- os.system('python setup.py sdist upload')
- sys.exit()
+from setuptools import setup
packages = ['geoip2']
@@ -33,11 +26,12 @@ setup(
include_package_data=True,
install_requires=requirements,
extras_require={
- ':python_version=="2.6" or python_version=="2.7"': ['ipaddress']},
+ ':python_version=="2.6" or python_version=="2.7"': ['ipaddress']
+ },
tests_require=['requests_mock'],
test_suite="tests",
license=geoip2.__license__,
- classifiers=(
+ classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
@@ -48,8 +42,8 @@ setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
'Programming Language :: Python',
'Topic :: Internet :: Proxy Servers',
'Topic :: Internet',
- ),
-)
+ ], )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-geoip2.git
More information about the Python-modules-commits
mailing list