Commit d4098c6a by William Tisäter

Merge pull request #55 from thuandt/master

Add __version__ to __init__.py
parents c4688541 07cc2f27
...@@ -20,6 +20,7 @@ GNU General Public License for more details. ...@@ -20,6 +20,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/lgpl.txt>. along with this program. If not, see <http://www.gnu.org/licenses/lgpl.txt>.
""" """
__version__ = "0.3.1"
import os import os
import socket import socket
......
...@@ -27,9 +27,10 @@ try: ...@@ -27,9 +27,10 @@ try:
except ImportError: except ImportError:
from distutils.core import setup from distutils.core import setup
from pygeoip import __version__
setup(name='pygeoip', setup(name='pygeoip',
version='0.3.1', version=__version__,
description='Pure Python GeoIP API', description='Pure Python GeoIP API',
author='Jennifer Ennis', author='Jennifer Ennis',
author_email='zaylea@gmail.com', author_email='zaylea@gmail.com',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment