<commit_before>#inspired by http://warp.byu.edu/site/content/128
from distutils.core import setup
import matplotlib
import sys, os

options = {
    'name':'Aston',
    'version':'0.2.3',
    'description':'Mass/UV Spectral Analysis Program',
    'author':'<NAME>',
    'author_email':'<EMAIL>',
    'url':'http://code.google.com/p/aston',
    'packages':['aston', 'aston.ui', 'aston.Features', \
                'aston.FileFormats', 'aston.Math'],
    'scripts':['aston.py'],
    'data_files':matplotlib.get_py2exe_datafiles(),
}

if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
    #setup the distutils stuff
    try:
        import py2exe
    except ImportError:
        print 'Could not import py2exe. Windows exe could not be built.'
        sys.exit(0)

    options['windows'] = ['aston.py']
    options['options'] = {
        'py2exe':{'skip_archive': False,
        'dll_excludes':['MSVCP90.dll','tcl85.dll','tk85.dll'],<commit_msg>Changed version number to 0.3.0 in anticipation of release (someday).<commit_after>#inspired by http://warp.byu.edu/site/content/128
from distutils.core import setup
import matplotlib
import sys, os

options = {
    'name':'Aston',
    'version':'0.3.0',
    'description':'Mass/UV Spectral Analysis Program',
    'author':'<NAME>',
    'author_email':'<EMAIL>',
    'url':'http://code.google.com/p/aston',
    'packages':['aston', 'aston.ui', 'aston.Features', \
                'aston.FileFormats', 'aston.Math'],
    'scripts':['aston.py'],
    'data_files':matplotlib.get_py2exe_datafiles(),
}

if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
    #setup the distutils stuff
    try:
        import py2exe
    except ImportError:
        print 'Could not import py2exe. Windows exe could not be built.'
        sys.exit(0)

    options['windows'] = ['aston.py']
    options['options'] = {
        'py2exe':{'skip_archive': False,
        'dll_excludes':['MSVCP90.dll','tcl85.dll','tk85.dll'],
{'fraction_non_alphanumeric': 0.17989690721649484, 'fraction_numerical': 0.02216494845360825, 'mean_word_length': 3.3229398663697105, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '387188', 'n_tokens_mistral': 724, 'n_tokens_neox': 663, 'n_words': 132}