<commit_before>#!/usr/bin/env python
#coding:utf8

from setuptools import setup
import py2exe #@UnusedImport
from setuptools import find_packages
import syncplay
import sys

sys.argv.extend(['py2exe', '-p win32com ', '-i twisted.web.resource'])
common_info = dict(
    name='Syncplay',
    version=syncplay.version,
    author='<NAME>, Uriziel',
    author_email='<EMAIL>, <EMAIL>',
    description='Syncplay',
    packages=find_packages(exclude=['venv']),
    install_requires=['Twisted>=11.1'],
)

info = dict(
    common_info,
    console=[{"script":"syncplayClient.py", "icon_resources":[(1, "resources\\icon.ico")]}, 'syncplayServer.py'],
    options={'py2exe': {
                         'includes': 'cairo, pango, pangocairo, atk, gobject',
                         'optimize': 2,
                         'compressed': 1
                         }
                          
          },

)

setup(**info)
<commit_msg>Some size optimizations of .exe<commit_after>#!/usr/bin/env python
#coding:utf8

from setuptools import setup
import py2exe #@UnusedImport
from setuptools import find_packages
import syncplay
import sys

sys.argv.extend(['py2exe', '-p win32com ', '-i twisted.web.resource'])
common_info = dict(
    name='Syncplay',
    version=syncplay.version,
    author='Uriziel',
    author_email='<EMAIL>',
    description='Syncplay',
    packages=find_packages(exclude=['venv']),
    install_requires=['Twisted>=11.1'],
)

info = dict(
    common_info,
    console=[{"script":"syncplayClient.py", "icon_resources":[(1, "resources\\icon.ico")]}, 'syncplayServer.py'],
    options={'py2exe': {
                         'includes': 'cairo, pango, pangocairo, atk, gobject',
                         'excludes': '_ssl, doctest, pdb, unittest, difflib, win32clipboard, win32event, win32file, win32pdh, win32security, win32trace, win32ui, winxpgui, win32pipe, win32process',
                         'dll_excludes': 'msvcr71.dll',
                         'optimize': 2,
                         'compressed': 1
                         }
                          
          },

)

setup(**info)

{'fraction_non_alphanumeric': 0.14523018509729474, 'fraction_numerical': 0.0208827717133365, 'mean_word_length': 2.5668358714043995, 'pattern_counts': {'":': 4, '<': 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': '6385815', 'n_tokens_mistral': 695, 'n_tokens_neox': 648, 'n_words': 126}