Alien-CPython3
view release on metacpan or search on metacpan
#plugin PkgConfig => 'python3-embed';
}
my $probe = 0;
for my $command (qw(python3 python)) {
next unless which($command);
plugin 'Probe::CommandLine' => (
command => $command,
args => [ '--version' ],
version => qr/^Python (3\.[0-9\.]+)$/,
#secondary => $IS_UNIX,
);
$probe = 1;
}
unless( $probe ) {
probe sub { 'share' };
}
sub do_source {
start_url 'https://www.python.org/downloads/';
t/00-report-prereqs.t view on Meta::CPAN
}
else {
$cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source)
$source = 'static metadata';
}
my @full_reports;
my @dep_errors;
my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs;
# Add static includes into a fake section
for my $mod (@include) {
$req_hash->{other}{modules}{$mod} = 0;
}
for my $phase ( qw(configure build test runtime develop other) ) {
next unless $req_hash->{$phase};
next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING});
for my $type ( qw(requires recommends suggests conflicts modules) ) {
next unless $req_hash->{$phase}{$type};
( run in 0.618 second using v1.01-cache-2.11-cpan-39bf76dae61 )