<commit_before>#!/usr/bin/python
from datetime import date
from setuptools import setup
from mailpile.app import APPVER
import os

try:
  # This borks sdist.
  os.remove('.SELF')
except:
  pass

setup(
    name="mailpile",
    version=APPVER.replace('github',
                           'dev'+date.today().isoformat().replace('-', '')),
    license="AGPLv3+",
    author="<NAME>",
    author_email="<EMAIL>",
    url="http://www.mailpile.is/",
    description="""Mailpile is a personal tool for searching and indexing e-mail.""",
    long_description="""\
Mailpile is a tool for building and maintaining a tagging search
engine for a personal collection of e-mail.  It can be used as a
simple web-mail client.
""",
   packages=['mailpile','mailpile.plugins','mailpile.mailboxes'],
   entry_points = {
     'console_scripts': [
       'mailpile = mailpile.__main__:main'
     ]
   },
)<commit_msg>Use setuptools.find_packages() instead of hardcoding packages (thank @iElectric)<commit_after>#!/usr/bin/python
from datetime import date
from setuptools import setup, find_packages
from mailpile.app import APPVER
import os

try:
  # This borks sdist.
  os.remove('.SELF')
except:
  pass

setup(
    name="mailpile",
    version=APPVER.replace('github',
                           'dev'+date.today().isoformat().replace('-', '')),
    license="AGPLv3+",
    author="<NAME>",
    author_email="<EMAIL>",
    url="http://www.mailpile.is/",
    description="""Mailpile is a personal tool for searching and indexing e-mail.""",
    long_description="""\
Mailpile is a tool for building and maintaining a tagging search
engine for a personal collection of e-mail.  It can be used as a
simple web-mail client.
""",
   packages=find_packages(),
   entry_points = {
     'console_scripts': [
       'mailpile = mailpile.__main__:main'
     ]
   },
)
{'fraction_non_alphanumeric': 0.13881328252585737, 'fraction_numerical': 0.0010887316276537834, 'mean_word_length': 3.4396135265700485, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6549493', 'n_tokens_mistral': 596, 'n_tokens_neox': 563, 'n_words': 154}