This repository has been archived by the owner on Jan 14, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fetch info step. (Note, may require manual action) Wrapped data not found with handler. Fixed decl. race condition flake8 fixes
- Loading branch information
jrconlin
committed
Aug 17, 2012
1 parent
5b016ef
commit ad461bd
Showing
9 changed files
with
153 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
""" | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v. 2.0. If a copy of the MPL was not distributed with this | ||
file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
Stand alone MaxMind GeoIP binary service | ||
In order to isloate potential segfaults from the C API, creating this as | ||
a pollable service that can be quickly restarted. | ||
based off of django_geoip. | ||
based off of django_geoip | ||
<https://github.com/futurecolors/django-geoip/> | ||
""" | ||
|
||
from __future__ import absolute_import | ||
|
||
try: | ||
from .base import GeoIP, GeoIPException | ||
from base import GeoIP | ||
HAS_GEOIP = True | ||
except: | ||
HAS_GEOIP = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ argparse==1.2.1 | |
gevent==0.13.7 | ||
greenlet==0.4.0 | ||
nose==1.1.2 | ||
statsd==0.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
""" | ||
Placeholder | ||
""" | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
setup(name='geoip_server', | ||
version='0.1', | ||
description='Stand alone GeoIP server', | ||
author='jrconlin', | ||
author_email='', | ||
license='MPL 2.0', | ||
url='https://github.com/jrconlin/geoip_server', | ||
include_package_data=True, | ||
classifiers=[], | ||
packages=find_packages(exclude=['tests']), | ||
install_requires=[]) | ||
|
||
|
||
|