<commit_before>#!/usr/bin/env python2
import sys
import os
import subprocess
import traceback

from cx_Freeze import setup, Executable
from clipfiles import VERSION, IMAGES, ICON_FILE

import distutils.util

ISS_FILE="setup.iss"

base = None
icon = ICON_FILE
includes = []

if sys.platform == "win32":
    base = "Win32GUI"    # Tells the build script to hide the console.

if not icon is None:
    includes.append(icon)

includes = includes + IMAGES.values()

build_exe_opt = {
        "optimize" : 2,
        "include_files" : includes,
        "include_msvcr" : True
}

to_delete = [
        os.path.join("tcl", "encoding"),
        os.path.join("tcl", "http1.0"),
        os.path.join("tcl", "msgs"),
        os.path.join("tcl", "tzdata"),
        os.path.join("tcl", "opt0.4"),
        
        os.path.join("tk", "demos"),
        os.path.join("tk", "images"),
        os.path.join("tk", "msgs")
    ]


setup(
        name='clipfiles',
        version=VERSION,
        description='Download all your CLIP files',
        long_description="""This program allows people with credentials
to the UNL (Universidade Nova de Lisboa) CLIP system, to
download all their documents, assignments and exames, with few clicks""",
        author='<NAME>',
        author_email='<EMAIL>',
        url="https://github.com/libclipunl/clipfiles",
        requires=['pyclipunl (>=0.0.3)'],
        license='MIT',
        executables = [Executable("clipfiles.py", base = base, icon = icon, compress = True, shortcutName = "CLIP Files")],

        options = {<commit_msg>Updated needed pyclipunl version<commit_after>#!/usr/bin/env python2
import sys
import os
import subprocess
import traceback

from cx_Freeze import setup, Executable
from clipfiles import VERSION, IMAGES, ICON_FILE

import distutils.util

ISS_FILE="setup.iss"

base = None
icon = ICON_FILE
includes = []

if sys.platform == "win32":
    base = "Win32GUI"    # Tells the build script to hide the console.

if not icon is None:
    includes.append(icon)

includes = includes + IMAGES.values()

build_exe_opt = {
        "optimize" : 2,
        "include_files" : includes,
        "include_msvcr" : True
}

to_delete = [
        os.path.join("tcl", "encoding"),
        os.path.join("tcl", "http1.0"),
        os.path.join("tcl", "msgs"),
        os.path.join("tcl", "tzdata"),
        os.path.join("tcl", "opt0.4"),
        
        os.path.join("tk", "demos"),
        os.path.join("tk", "images"),
        os.path.join("tk", "msgs")
    ]


setup(
        name='clipfiles',
        version=VERSION,
        description='Download all your CLIP files',
        long_description="""This program allows people with credentials
to the UNL (Universidade Nova de Lisboa) CLIP system, to
download all their documents, assignments and exames, with few clicks""",
        author='<NAME>',
        author_email='<EMAIL>',
        url="https://github.com/libclipunl/clipfiles",
        requires=['pyclipunl (>=0.0.4)'],
        license='MIT',
        executables = [Executable("clipfiles.py", base = base, icon = icon, compress = True, shortcutName = "CLIP Files")],

        options = {
{'fraction_non_alphanumeric': 0.14180772916001277, 'fraction_numerical': 0.00830405621207282, 'mean_word_length': 2.915, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4831549', 'n_tokens_mistral': 1021, 'n_tokens_neox': 1008, 'n_words': 257}