<commit_before>"""
This script can be used to compile further extensions that may
speed up computations.
Please run:
python setup.py build_ext --inplace
"""

from setuptools import setup, Extension, find_packages
from Cython.Distutils import build_ext
import numpy
import os
import sys

# Grab the version string from the documentation.
sys.path.insert(0, 'doc')
import conf
version = conf.version
sys.path.remove('doc')

if sys.platform == 'darwin':
    # by default use clang++ as this most likely to have c++11 support
    # on OSX
    if "CC" not in os.environ or os.environ["CC"] == "":
        os.environ["CC"] = "clang++"
        extra_args = ["-std=c++0x", "-stdlib=libc++"]
else:
    extra_args = []

setup(name="rlpy",
      version=version,
      description="The Reinforcement Learning Library for Education and Research",
      url="http://acl.mit.edu/RLPy/",
      packages=find_packages(),
      package_data={'rlpy': [
          'Domains/GridWorldMaps/*.txt',
          'Domains/IntruderMonitoringMaps/*.txt',
          'Domains/PinballConfigs/*.cfg',
          'Domains/PacmanPackage/layouts/*.lay',
          'Domains/SystemAdministratorMaps/*.txt',
      ]},
      install_requires=[
          'numpy >= 1.7',
          'scipy',
          'matplotlib >= 1.2',
          'networkx',
          'scikit-learn',
          'joblib',
          'hyperopt'
      ],
      extras_require={'cython_extensions': ['cython']},
      cmdclass={'build_ext': build_ext},<commit_msg>added pymongo requirement, missing in hyperopt<commit_after>"""
This script can be used to compile further extensions that may
speed up computations.
Please run:
python setup.py build_ext --inplace
"""

from setuptools import setup, Extension, find_packages
from Cython.Distutils import build_ext
import numpy
import os
import sys

# Grab the version string from the documentation.
sys.path.insert(0, 'doc')
import conf
version = conf.version
sys.path.remove('doc')

if sys.platform == 'darwin':
    # by default use clang++ as this most likely to have c++11 support
    # on OSX
    if "CC" not in os.environ or os.environ["CC"] == "":
        os.environ["CC"] = "clang++"
        extra_args = ["-std=c++0x", "-stdlib=libc++"]
else:
    extra_args = []

setup(name="rlpy",
      version=version,
      description="The Reinforcement Learning Library for Education and Research",
      url="http://acl.mit.edu/RLPy/",
      packages=find_packages(),
      package_data={'rlpy': [
          'Domains/GridWorldMaps/*.txt',
          'Domains/IntruderMonitoringMaps/*.txt',
          'Domains/PinballConfigs/*.cfg',
          'Domains/PacmanPackage/layouts/*.lay',
          'Domains/SystemAdministratorMaps/*.txt',
      ]},
      install_requires=[
          'numpy >= 1.7',
          'scipy',
          'matplotlib >= 1.2',
          'networkx',
          'scikit-learn',
          'joblib',
          'hyperopt',
          'pymongo'
      ],
      extras_require={'cython_extensions': ['cython']},
      cmdclass={'build_ext': build_ext},
{'fraction_non_alphanumeric': 0.13955026455026456, 'fraction_numerical': 0.005291005291005291, 'mean_word_length': 2.8146279949558637, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1575827', 'n_tokens_mistral': 953, 'n_tokens_neox': 938, 'n_words': 233}