Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (13 sloc) 524 Bytes
#!/usr/bin/env perl6
use v6;
use LibraryMake;
my %vars = get-vars('.');
my $python-config = ('python2-config', 'python2.7-config').first({run($_, '--help', :err).exitcode == 0});
%vars<pyhelper> = $*VM.platform-library-name('pyhelper'.IO);
%vars<cflags> = chomp qqx/$python-config --cflags/;
%vars<ldflags> = chomp qqx/$python-config --ldflags/;
mkdir 'resources' unless 'resources'.IO.e;
mkdir 'resources/libraries' unless 'resources/libraries'.IO.e;
process-makefile('.', %vars);
shell(%vars<MAKE>);
# vim: ft=perl6
You can’t perform that action at this time.