<commit_before>INIT {
    pir::load_bytecode('distutils.pbc');
}

sub new_hash(*%args) { %args; }

MAIN(pir::getinterp__P()[2]);

sub MAIN(@argv) {
    my %rosella := new_hash(
        :name('Rosella'),
        :abstract('Utilities Library for Parrot'),
        :authority('http://github.com/Whiteknight'),
        :copyright_holder('<NAME>'),
        :keywords(< test tap xunit event container dependency-injection >),
        :license_type('Artistic License 2.0'),
        :license_uri('http://www.perlfoundation.org/artistic_license_2_0' ),
        :checkout_uri('git://github.com/Whiteknight/rosella.git' ),
        :browser_uri('git://github.com/Whiteknight/rosella'),
        :project_uri('git://github.com/Whiteknight/rosella'),
        :inst_lib([])
    );
    if @argv[1] eq "test" { do_test(); }

    my @rosella_files := <
        core/Rosella
        core/Error
    >;
    setup_lib(%rosella, "rosella/core.pbc", @rosella_files);

    my @action_files := <
        include/Core
        action/Action
        action/ActionArg
    >;
    setup_lib(%rosella, "rosella/action.pbc", @action_files);

    my @container_files := <
        include/Core
        include/Action
        container/Container
        container/ItemBuilder
        container/ObjectFactory
    >;
    setup_lib(%rosella, "rosella/container.pbc", @container_files);

    my @event_files := <
        include/Core
        include/Action
        event/Event
        event/EventManager
    >;
    setup_lib(%rosella, "rosella/event.pbc", @event_files);

    my @proto_files := <
        include/Core
        prototype/Item
        prototype/Manager
    >;
    setup_lib(%rosella, "rosella/prototype.pbc", @proto_files);

    my @query_files := <
        include/Core
        query/Query
        query/Provider
        query/provider/Array
        query/provider/Hash
        query/Path
    >;
    setup_lib(%rosella, "rosella/query.pbc", @query_files);

    #my @proxy_files := <<commit_msg>fix setup.nqp to build again after moving ObjectFactory<commit_after>INIT {
    pir::load_bytecode('distutils.pbc');
}

sub new_hash(*%args) { %args; }

MAIN(pir::getinterp__P()[2]);

sub MAIN(@argv) {
    my %rosella := new_hash(
        :name('Rosella'),
        :abstract('Utilities Library for Parrot'),
        :authority('http://github.com/Whiteknight'),
        :copyright_holder('<NAME>'),
        :keywords(< test tap xunit event container dependency-injection >),
        :license_type('Artistic License 2.0'),
        :license_uri('http://www.perlfoundation.org/artistic_license_2_0' ),
        :checkout_uri('git://github.com/Whiteknight/rosella.git' ),
        :browser_uri('git://github.com/Whiteknight/rosella'),
        :project_uri('git://github.com/Whiteknight/rosella'),
        :inst_lib([])
    );
    if @argv[1] eq "test" { do_test(); }

    my @rosella_files := <
        core/Rosella
        core/Error
        core/ObjectFactory
    >;
    setup_lib(%rosella, "rosella/core.pbc", @rosella_files);

    my @action_files := <
        include/Core
        action/Action
        action/ActionArg
    >;
    setup_lib(%rosella, "rosella/action.pbc", @action_files);

    my @container_files := <
        include/Core
        include/Action
        container/Container
        container/ItemBuilder
    >;
    setup_lib(%rosella, "rosella/container.pbc", @container_files);

    my @event_files := <
        include/Core
        include/Action
        event/Event
        event/EventManager
    >;
    setup_lib(%rosella, "rosella/event.pbc", @event_files);

    my @proto_files := <
        include/Core
        prototype/Item
        prototype/Manager
    >;
    setup_lib(%rosella, "rosella/prototype.pbc", @proto_files);

    my @query_files := <
        include/Core
        query/Query
        query/Provider
        query/provider/Array
        query/provider/Hash
        query/Path
    >;
    setup_lib(%rosella, "rosella/query.pbc", @query_files);

    #my @proxy_files := <
{'fraction_non_alphanumeric': 0.14177788970032737, 'fraction_numerical': 0.0030219088390833542, 'mean_word_length': 2.4995594713656386, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 19, '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': '3562336', 'n_tokens_mistral': 1287, 'n_tokens_neox': 1246, 'n_words': 193}