<commit_before>"""Use the following command to install dbtk: python setup.py install"""

from setuptools import setup
import platform
if "win" in platform.platform().lower():
    import py2exe
from __init__ import VERSION

setup(name='dbtk',
      version=VERSION,
      description='Database Toolkit',
      author='<NAME>',
      author_email='<EMAIL>',
      url='http://www.ecologicaldata.org/database-toolkits',
      packages=[
                'dbtk',
                'dbtk.lib',
                'dbtk.scripts'
                ],
      package_dir={
                'dbtk':''
                },
      entry_points={
        'console_scripts': [
            'dbtk = dbtk.main:main',
        ],
      },
      # py2exe options
      options = {'py2exe': {'bundle_files': 1,
                            'packages': ['dbtk',
                                         'dbtk.lib',
                                         'dbtk.scripts',
                                         ],
                            'includes': ['xlrd',
                                         'pyodbc'<commit_msg>Added options to optimize size of py2exe windows executable - cut size from 20mb to about 8mb.<commit_after>"""Use the following command to install dbtk: python setup.py install"""

from setuptools import setup
import platform
if "win" in platform.platform().lower():
    import py2exe
from __init__ import VERSION

setup(name='dbtk',
      version=VERSION,
      description='Database Toolkit',
      author='<NAME>',
      author_email='<EMAIL>',
      url='http://www.ecologicaldata.org/database-toolkits',
      packages=[
                'dbtk',
                'dbtk.lib',
                'dbtk.scripts'
                ],
      package_dir={
                'dbtk':''
                },
      entry_points={
        'console_scripts': [
            'dbtk = dbtk.main:main',
        ],
      },
      # py2exe options
      options = {'py2exe': {'bundle_files': 1,
                            'compressed': 2,
                            'optimize': 2,
                            'packages': ['dbtk',
                                         'dbtk.lib',
                                         'dbtk.scripts',
                                         ],
                            'includes': ['xlrd',
                                         'pyodbc'
{'fraction_non_alphanumeric': 0.11484474691620587, 'fraction_numerical': 0.005954912803062527, 'mean_word_length': 1.204311152764761, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5536083', 'n_tokens_mistral': 599, 'n_tokens_neox': 584, 'n_words': 130}