Skip to content

Commit 794501c

Browse files
author
Mark Costello
committed
Fixed some setup.py and readme issues
1 parent ab28ede commit 794501c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A Python Module to wrap the IP address geolocation service from [hostip.info](ht
55

66

77
## Installation
8-
Download the tarball, untar and run `python setup.py install`
8+
Install from PyPI using `pip install pylocation`
99

1010
## Dependencies
1111
`pylocation` depends on the excellent [requests](https://github.com/kennethreitz/requests) library.

setup.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
from distutils.core import setup
22

3-
setup(name='pylocate',
4-
version='0.1',
5-
description='Python Wrapper Library for Geolocating IP Addresses',
6-
author='Mark Costello',
7-
author_email='[email protected]',
8-
url='https://github.com/mcos/pylocate',
9-
license="MIT License"
10-
# install_requires=['requests','simplejson']
11-
# packages=['zencoder']
3+
setup(name = 'pylocation',
4+
version = '0.1',
5+
description = 'Python Wrapper Library for Geolocating IP Addresses',
6+
author = 'Mark Costello',
7+
author_email = '[email protected]',
8+
url = 'https://github.com/mcos/pylocate',
9+
license = "MIT License",
10+
install_requires = ['requests'],
11+
packages = ['pylocation']
1212
)

0 commit comments

Comments
 (0)