<commit_before># -*- coding: utf-8 -*-

import os
from setuptools import setup, find_packages

from localization.tool import localize

LOCALES = [
    ('default.py', 'gaminator'),
]

ROOT = os.path.dirname(__file__)

for trans_file, dest_root in LOCALES:
    trans_file = os.path.join(ROOT, 'localization', 'data', trans_file)
    dest_root = os.path.join(ROOT, dest_root)
    src_root = os.path.join(ROOT, 'gaminator-src')
    localize(src_root, dest_root, trans_file)

setup(
    name="gaminator",
    version="0.0.1",
    author=u"<NAME>",
    author_email="<EMAIL>",
    description=(""),
    license="MIT",
    keywords="",
    url="https://github.com/syslo/gaminator",
    packages=find_packages(exclude=["gaminator-src"]),
    classifiers=[
        "Development Status :: 4 - Beta",<commit_msg>Manual package enumeration in setup.py<commit_after># -*- coding: utf-8 -*-

import os
from setuptools import setup

from localization.tool import localize

LOCALES = [
    ('default.py', 'gaminator'),
]

PACKAGES = [
    '%s',
    '%s.starter',
]

ROOT = os.path.dirname(__file__)

for trans_file, dest_root in LOCALES:
    trans_file = os.path.join(ROOT, 'localization', 'data', trans_file)
    dest_root = os.path.join(ROOT, dest_root)
    src_root = os.path.join(ROOT, 'gaminator-src')
    localize(src_root, dest_root, trans_file)

def get_packages():
    for _, dest_root in LOCALES:
        for package in PACKAGES:
            yield package % dest_root

setup(
    name="gaminator",
    version="0.0.1",
    author=u"<NAME>",
    author_email="<EMAIL>",
    description=(""),
    license="MIT",
    keywords="",
    url="https://github.com/syslo/gaminator",
    packages=list(get_packages()),
    classifiers=[
        "Development Status :: 4 - Beta",
{'fraction_non_alphanumeric': 0.15502555366269166, 'fraction_numerical': 0.0056785917092561046, 'mean_word_length': 3.5885416666666665, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5020399', 'n_tokens_mistral': 621, 'n_tokens_neox': 605, 'n_words': 124}