Bod has asked for the wisdom of the Perl Monks concerning the following question:
I've uploaded Business::Stripe::WebCheckout to CPAN as a developer release. Release 1 failed when Stripe couldn't be contacted. Release 2 has cured this problem and, so far, all the CPAN Testers reports have passed 😊
However, Windows doesn't have gzip. So in Makefile.PL I have this line to use IO::Compress::Gzip which is included with Strawberry Perl:
This is included in the tarball that was uploaded.dist => { COMPRESS => q{perl -MIO::Compress::Gzip=gzip,:constants -e" +my $$in = $$ARGV[0]; gzip($$in => qq($$in.gz), q(Level) => Z_BEST_COM +PRESSION, q(BinModeIn) => 1) or die q(gzip failed); unlink $$in;"}, S +UFFIX => 'gz', },
Does this need changing in the release?
My best guess is that it is OK as it is only used when building the distribution, not when installing it but I wanted to check this is correct.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Making distribution on Strawberry Perl for CPAN
by syphilis (Archbishop) on Apr 17, 2021 at 01:12 UTC | |
by Bod (Parson) on Apr 17, 2021 at 12:02 UTC | |
by perlfan (Parson) on Apr 17, 2021 at 15:25 UTC | |
|
Re: Making distribution on Strawberry Perl for CPAN
by perlfan (Parson) on Apr 17, 2021 at 13:52 UTC | |
by Bod (Parson) on Apr 17, 2021 at 17:40 UTC |