<commit_before>"""A setup up script for the APEL-SSM."""
from setuptools import setup, find_packages


setup(name='ssm',
      version='2.1.7-1',
      description=("Secure Stomp Messenger (SSM) is designed to simply send "
                   "messages using the STOMP protocol."),
      author='APEL',
      author_email='<EMAIL>',
      url='https://github.com/apel/ssm',
      download_url='https://github.com/apel/ssm/archive/2.1.7-1.zip',
      license='Apache License, version 2 - http://www.apache.org/licenses/',
      install_requires=['stomp.py<=3.1.6', 'python-ldap', 'dirq'],
      extras_require={
          'python-daemon': ['python-daemon'],
          'unittest2': ['unittest2'],
          'coveralls': ['coveralls'],
      },
      packages=find_packages('ssm'),  # include all packages under ssm
      package_dir={'': 'ssm'},  # tell distutils packages are under ssm
      scripts=["bin/apel-ssm", "bin/receiver.py", "bin/sender.py"])<commit_msg>main() method added, bin files now installed to bin<commit_after>"""A setup up script for the APEL-SSM."""
import sys
import os
from setuptools import setup, find_packages


def main():
    """Called when run as script, i.e. "python setup.py install"."""
    bin_dir = os.path.join(sys.prefix, "bin")
    bin_files = ['bin/apel-ssm', 'bin/receiver.py', 'bin/sender.py']

    setup(name='ssm',
          version='2.1.7-1',
          description=("Secure Stomp Messenger (SSM) is designed to simply "
                       "send messages using the STOMP protocol."),
          author='APEL',
          author_email='<EMAIL>',
          url='https://github.com/apel/ssm',
          download_url='https://github.com/apel/ssm/archive/2.1.7-1.zip',
          license='Apache License, v2 - http://www.apache.org/licenses/',
          install_requires=['stomp.py<=3.1.6', 'python-ldap', 'dirq'],
          extras_require={
              'python-daemon': ['python-daemon'],
              'unittest2': ['unittest2'],
              'coveralls': ['coveralls'],
          },
          packages=find_packages('ssm'),  # include all packages under ssm
          package_dir={'': 'ssm'},  # tell distutils packages are under ssm
          data_files=[(bin_dir, bin_files)])

if __name__ == "__main__":
    main()
{'fraction_non_alphanumeric': 0.16585581601061478, 'fraction_numerical': 0.01238390092879257, 'mean_word_length': 2.6900489396411094, 'pattern_counts': {'":': 1, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '4340729', 'n_tokens_mistral': 733, 'n_tokens_neox': 726, 'n_words': 159}