<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys

from setuptools import find_packages, setup

REQUIRES = [
    'ipaddress>=1.0.14',
    'psutil>=2.1.1',
    'python-dateutil>=2.4.2',
    'python-termstyle>=0.1.10',
    'pytz>=2015.4',
    'redis>=2.10.3',
    'requests>=2.7.0',
    'six>=1.9.0',
]
if sys.version_info[0] == 2:
    REQUIRES += ['dnspython>=1.12.0']
elif sys.version_info[0] == 3:
    REQUIRES += ['dnspython3>=1.12.0']

DATA = [
    ('/opt/intelmq/etc/',
     ['intelmq/bots/BOTS',
      ],
     ),
    ('/opt/intelmq/etc/examples',
     ['intelmq/etc/defaults.conf',
      'intelmq/etc/harmonization.conf',
      'intelmq/etc/pipeline.conf',
      'intelmq/etc/runtime.conf',
      'intelmq/etc/startup.conf',
      'intelmq/etc/system.conf',
      ],
     ),
    ('/opt/intelmq/var/lib/bots/modify/example',
     ['intelmq/bots/experts/modify/modify.conf',
      ],
     ),
    ('/opt/intelmq/var/log/',
     [],
     ),
    ('/opt/intelmq/var/lib/bots/file-output/',
     [],
     ),
]

try:
    import pypandoc
    DESCRIPTION = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
    DESCRIPTION = open('README.md').read()


setup(
    name='intelmq',
    version='1.0.0.dev4',
    maintainer='<NAME>',
    maintainer_email='<EMAIL>',
    install_requires=REQUIRES,
    test_requires=REQUIRES+[
        'mock>=1.1.1',
        'nose',
        ],
    test_suite='nose.collector',
    packages=find_packages(),
    package_data={'intelmq': [
        'etc/*.conf',
        'bots/BOTS',
        'bots/experts/modify/*.conf',
    ]
    },
    include_package_data=True,
    url='https://github.com/certtools/intelmq/',
    license='AGPLv3',
    description='IntelMQ is a solution for CERTs to process data feeds, '
                'pastebins, tweets throught a message queue.',
    long_description=DESCRIPTION,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Intended Audience :: Information Technology',
        'Intended Audience :: System Administrators',
        'Intended Audience :: Telecommunications Industry',
        'License :: OSI Approved :: GNU Affero General Public License v3',
        'Operating System :: Unix',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Security',
    ],
    keywords='incident handling cert csirt',
    data_files=DATA,
    entry_points={
        'console_scripts': [
            'intelmqctl = intelmq.bin.intelmqctl:main',
            'intelmqdump = intelmq.bin.intelmqdump:main',
            'intelmq_psql_initdb = intelmq.bin.intelmq_psql_initdb:main',
        ],
    },
)
<commit_msg>Downgraded requirements to by satisfy-able by native ubuntu packages.<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys

from setuptools import find_packages, setup

REQUIRES = [
    'psutil>=1.2.1',
    'python-dateutil>=2.0',
    'python-termstyle>=0.1.10',
    'pytz>=2014.1',
    'redis>=2.10.3',
    'requests>=2.2.0',
    'six>=1.5.0',
]
if sys.version_info[0] == 2:
    REQUIRES += ['dnspython>=1.11.1',
                 'ipaddress>=1.0.14']
elif sys.version_info[0] == 3:
    REQUIRES += ['dnspython3>=1.11.1']

DATA = [
    ('/opt/intelmq/etc/',
     ['intelmq/bots/BOTS',
      ],
     ),
    ('/opt/intelmq/etc/examples',
     ['intelmq/etc/defaults.conf',
      'intelmq/etc/harmonization.conf',
      'intelmq/etc/pipeline.conf',
      'intelmq/etc/runtime.conf',
      'intelmq/etc/startup.conf',
      'intelmq/etc/system.conf',
      ],
     ),
    ('/opt/intelmq/var/lib/bots/modify/example',
     ['intelmq/bots/experts/modify/modify.conf',
      ],
     ),
    ('/opt/intelmq/var/log/',
     [],
     ),
    ('/opt/intelmq/var/lib/bots/file-output/',
     [],
     ),
]

try:
    import pypandoc
    DESCRIPTION = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
    DESCRIPTION = open('README.md').read()


setup(
    name='intelmq',
    version='1.0.0.dev4',
    maintainer='<NAME>',
    maintainer_email='<EMAIL>',
    install_requires=REQUIRES,
    test_requires=REQUIRES+[
        'mock>=1.1.1',
        'nose',
        ],
    test_suite='nose.collector',
    packages=find_packages(),
    package_data={'intelmq': [
        'etc/*.conf',
        'bots/BOTS',
        'bots/experts/modify/*.conf',
    ]
    },
    include_package_data=True,
    url='https://github.com/certtools/intelmq/',
    license='AGPLv3',
    description='IntelMQ is a solution for CERTs to process data feeds, '
                'pastebins, tweets throught a message queue.',
    long_description=DESCRIPTION,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Intended Audience :: Information Technology',
        'Intended Audience :: System Administrators',
        'Intended Audience :: Telecommunications Industry',
        'License :: OSI Approved :: GNU Affero General Public License v3',
        'Operating System :: Unix',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Security',
    ],
    keywords='incident handling cert csirt',
    data_files=DATA,
    entry_points={
        'console_scripts': [
            'intelmqctl = intelmq.bin.intelmqctl:main',
            'intelmqdump = intelmq.bin.intelmqdump:main',
            'intelmq_psql_initdb = intelmq.bin.intelmq_psql_initdb:main',
        ],
    },
)

{'fraction_non_alphanumeric': 0.16888965875627923, 'fraction_numerical': 0.02095963970206132, 'mean_word_length': 2.4930429522081066, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 29, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6007956', 'n_tokens_mistral': 2090, 'n_tokens_neox': 1981, 'n_words': 318}