-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
50 lines (46 loc) · 1.35 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from setuptools import setup
from glob import glob
setup(name="cymruwhois",
version="1.6",
description="Client for the whois.cymru.com service",
long_description="""
Perform lookups by ip address and return ASN, Country Code, and Netblock Owner::
>>> import socket
>>> ip = socket.gethostbyname("www.google.com")
>>> from cymruwhois import Client
>>> c=Client()
>>> r=c.lookup(ip)
>>> print r.asn
15169
>>> print r.owner
GOOGLE - Google Inc.
""",
url="http://packages.python.org/cymruwhois/",
download_url="http://github.com/JustinAzoff/python-cymruwhois/tree/master",
license='MIT',
classifiers=[
"Topic :: System :: Networking",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
],
keywords='ASN',
author="Justin Azoff",
author_email="[email protected]",
py_modules = ["cymruwhois"],
extras_require = {
'CACHE': ["python-memcached"],
'docs' : ['sphinx'],
'tests' : ['nose'],
},
entry_points = {
'console_scripts': [
'cymruwhois = cymruwhois:lookup_stdin',
]
},
setup_requires=[
],
test_suite='nose.collector',
)