setup.py
author Igor Kirsanov <leotop@yandex.ru>
Sun, 15 May 2016 14:45:28 +0000
branchleotop/whoispy-fix-python3-error-if-bwith-xxx-i-1463323526280
changeset 90 f1bcf8940a97
parent 81 359baebcf0e8
child 94 4466b5b65881
permissions -rw-r--r--
whois.py fix python3 error: if b'with "=xxx"' in response: TypeError: 'in <string>' requires string as left operand, not bytes

import sys, os
import setuptools

version = '0.6.1'

setuptools.setup(
    name='python-whois',
    version=version,
    description="Whois querying and parsing of domain registration information.",
    long_description='',
    install_requires=[
        'future',
    ],
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP'
    ],
    keywords='whois, python',
    author='Richard Penman',
    author_email='richard@webscraping.com',
    url='https://bitbucket.org/richardpenman/pywhois',
    license='MIT',
    packages=['whois'],
    package_dir={'whois':'whois'},
    extras_require={
        'better date conversion': ["python-dateutil"]
    },
    include_package_data=True,
    zip_safe=False
)