<commit_before>from setuptools import setup, find_packages
import os
import subprocess

os.system("pip install git+https://github.com/ComparativeGenomicsToolkit/sonLib@toil")

versionFile = "src/cactus/shared/version.py"
if os.path.exists(versionFile):
    os.remove(versionFile)
git_commit = subprocess.check_output('git log --pretty=oneline -n 1 -- $(pwd)', shell=True).split()[0]
with open(versionFile, 'w') as versionFH:
    versionFH.write("cactus_commit = '%s'" % git_commit)


setup(
    name="progressiveCactus",
    version="1.0",
    author="<NAME>",
    package_dir = {'': 'src'},
    packages=find_packages(where='src'),
    include_package_data=True,
    package_data={'cactus': ['*_config.xml']},
    # We use the __file__ attribute so this package isn't zip_safe.
    zip_safe=False,

    install_requires=[
        'psutil',
        'networkx',
        'toil_lib==1.2.0a1.dev119'],
    
    entry_points={
        'console_scripts': [
            'progressiveCactus = cactus.progressive.cactus_progressive:main'
            'cactus_checkUniqueHeaders.py = cactus.preprocessor.cactus_checkUniqueHeaders.py:main',
            'cactus_filterSmallFastaSequences.py = cactus.preprocessor.cactus_filterSmallFastaSequences.py:main',
            'cactus_makeAlphaNumericHeaders.py = cactus.preprocessor.cactus_makeAlphaNumericHeaders.py:main']},)<commit_msg>Fix typo in setup.py causing console_scripts not to work<commit_after>from setuptools import setup, find_packages
import os
import subprocess

os.system("pip install git+https://github.com/ComparativeGenomicsToolkit/sonLib@toil")

versionFile = "src/cactus/shared/version.py"
if os.path.exists(versionFile):
    os.remove(versionFile)
git_commit = subprocess.check_output('git log --pretty=oneline -n 1 -- $(pwd)', shell=True).split()[0]
with open(versionFile, 'w') as versionFH:
    versionFH.write("cactus_commit = '%s'" % git_commit)


setup(
    name="progressiveCactus",
    version="1.0",
    author="<NAME>",
    package_dir = {'': 'src'},
    packages=find_packages(where='src'),
    include_package_data=True,
    package_data={'cactus': ['*_config.xml']},
    # We use the __file__ attribute so this package isn't zip_safe.
    zip_safe=False,

    install_requires=[
        'psutil',
        'networkx',
        'toil_lib==1.2.0a1.dev119'],
    
    entry_points={
        'console_scripts': ['progressiveCactus = cactus.progressive.cactus_progressive:main',
            'cactus_checkUniqueHeaders.py = cactus.preprocessor.cactus_checkUniqueHeaders.py:main',
            'cactus_filterSmallFastaSequences.py = cactus.preprocessor.cactus_filterSmallFastaSequences.py:main',
            'cactus_makeAlphaNumericHeaders.py = cactus.preprocessor.cactus_makeAlphaNumericHeaders.py:main']},)
{'fraction_non_alphanumeric': 0.1317408613825552, 'fraction_numerical': 0.007962359753890699, 'mean_word_length': 4.2848948374761, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '387429', 'n_tokens_mistral': 945, 'n_tokens_neox': 919, 'n_words': 143}