from setuptools import setup

with open('requirements.txt') as f:
    required = f.read().splitlines()

extras_require = {
    "pandas": ["pandas"],
}

setup(
    name='pandasticsearch',
    version='0.5.0',
    author='onesuper',
    author_email='onesuperclark@gmail.com',
    packages=['pandasticsearch'],
    url='http://pypi.python.org/pypi/pandasticsearch/',
    license='MIT',
    description='A Pandastic Elasticsearch client for data analyzing.',
    install_requires=required,
    extras_require=extras_require,
    test_suite='nose.collector',
    tests_require=['nose', 'mock'],
)

from setuptools import setup

with open('requirements.txt') as f:
    required = f.read().splitlines()

extras_require = {
    "pandas": ["pandas"],
}

setup(
    name='pandasticsearch',
    version='0.5.0',
    author='onesuper',
    author_email='onesuperclark@gmail.com',
    packages=['pandasticsearch', 'pandasticsearch.operators'],
    url='http://pypi.python.org/pypi/pandasticsearch/',
    license='MIT',
    description='A Pandastic Elasticsearch client for data analyzing.',
    install_requires=required,
    extras_require=extras_require,
    test_suite='nose.collector',
    tests_require=['nose', 'mock'],
)

update setup.py to include operator submodule