<commit_before>"""
This is a setup.py script generated by py2applet

Usage:
    python setup.py py2app
"""

from setuptools import setup

APP = ['run.py']
DATA_FILES = [
 'html',
 'data',
 'securestore.cfg',
 'rww',
 '4store',
 'logs', # should be empty!

# 'libs', # don't include, py2app compiles them in for us.

 # don't really need these to run, but nice to include them
 'scripts',
 'setup_env.sh',
 'config2env.py',
 'COPYING',
 'tests',
 'README.md',
 ]

OPTIONS = {
    'argv_emulation': True,
    'includes': # all external modules, taken from generate_includes.py
        ['querycache', 'cStringIO', 'traceback', 'cherrypy', 'SimpleHTTPServer', 'subscriptions', 'cherrypy.lib.encoding', 'cherrypy.wsgiserver', 'rdfcrypto', 'webbox', 'BaseHTTPServer', 'shutil', 'hashlib', 'lxml.builder', 'cherrypy.wsgiserver.ssl_builtin', 'lxml', 'uuid', 'webboxhandler', 'base64', 'OpenSSL', 'urllib', 'securestore', 're', 'json', 'rdflib', 'fourstore', 'time', 'sqlite3', 'ConfigParser', 'SocketServer', 'glob', 'mimetypes', 'setuptools', 'httputils', 'journal', 'diskstore', 'urllib2', 'sys', 'certificates', 'M2Crypto', 'sparqlresults', 'webboxx509', 'pickle', 'Crypto.Cipher', 'os.path', 'posixpath', 'hashstorage', 'httplib', 'logging', 'socket', 'cElementTree', 'vaults', 'journalmodule', 'sparqlparse', 'urlparse', 'securestorewsgi', 'shelve', 'securestoreproxy', 'os', 'rdflib.graph', 'lxml._elementpath'],
    }

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)<commit_msg>Adding icon to py2app<commit_after>"""
This is a setup.py script generated by py2applet

Usage:
    python setup.py py2app
"""

from setuptools import setup

APP = ['run.py']
DATA_FILES = [
# 'webbox.icns', # assigned as icon of app in options
 'html',
 'data',
 'securestore.cfg',
 'rww',
 '4store',
 'logs', # should be empty!

# 'libs', # don't include, py2app compiles them in for us.

 # don't really need these to run, but nice to include them
 'scripts',
 'setup_env.sh',
 'config2env.py',
 'COPYING',
 'tests',
 'README.md',
 ]

OPTIONS = {
    'iconfile': 'webbox.icns',
    'argv_emulation': True,
    'includes': # all external modules, taken from generate_includes.py
        ['querycache', 'cStringIO', 'traceback', 'cherrypy', 'SimpleHTTPServer', 'subscriptions', 'cherrypy.lib.encoding', 'cherrypy.wsgiserver', 'rdfcrypto', 'webbox', 'BaseHTTPServer', 'shutil', 'hashlib', 'lxml.builder', 'cherrypy.wsgiserver.ssl_builtin', 'lxml', 'uuid', 'webboxhandler', 'base64', 'OpenSSL', 'urllib', 'securestore', 're', 'json', 'rdflib', 'fourstore', 'time', 'sqlite3', 'ConfigParser', 'SocketServer', 'glob', 'mimetypes', 'setuptools', 'httputils', 'journal', 'diskstore', 'urllib2', 'sys', 'certificates', 'M2Crypto', 'sparqlresults', 'webboxx509', 'pickle', 'Crypto.Cipher', 'os.path', 'posixpath', 'hashstorage', 'httplib', 'logging', 'socket', 'cElementTree', 'vaults', 'journalmodule', 'sparqlparse', 'urlparse', 'securestorewsgi', 'shelve', 'securestoreproxy', 'os', 'rdflib.graph', 'lxml._elementpath'],
    }

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)
{'fraction_non_alphanumeric': 0.1935788479697828, 'fraction_numerical': 0.009757632987094743, 'mean_word_length': 5.733050847457627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3150219', 'n_tokens_mistral': 1167, 'n_tokens_neox': 1140, 'n_words': 277}