Comments (4)
I'm not sure if the manual written by the Release is sufficient, because I see that some files from the .tar.gz are missing here in the repo.
Moreover, I'm running Windows. Is it necessary to use Linux?
from finance-quote.
Sorry, but there was a death in the family last month requiring me to travel out of state for a few weeks. Being a co-executor and co-trustee for the estate, the bulk of my free time has been consumed with family business. On top of that, Hurricane Ian made landfall just about right on top the deceased's home with a possible 12 to 18 foot storm surge coming later.
That said, the Release.md file is more of a checklist for the maintainers when pushing a new release to CPAN. Related to that is the tarballs contain some files automatically generated by Dist::Zilla need for CPAN.
Personally I have not tried using Dist::Zilla on a MS Windows system. Myself and the other maintainers primarily use Linux/Unix systems for F::Q development. But once installed correctly Dist::Zilla should work just as well on MS Windows as it does on Linux/Unix. Note, that you would not execute dzil release
since write access to both the CPAN F::Q namespace and the F::Q Github repo is necessary, but instead dzil build
will create a tarball with the familiar makefile.PL used for manual Perl Module installs.
Again, sorry to you and anyone else reading this for the delay.
- Bruce S
from finance-quote.
I'm very sorry for the situation in your family :( My condolences.
I didn't mean to create pressure on you, that's why I asked for instructions (for future generations) on how to build from source by myself, not for ETA of new release.
Speaking about the module. Thanks to your advice I managed to update the module on my computer to the current GitHub state!
If I understand the process correctly it goes like this:
1) GitHub source code gets several checks and changelog/docs updates
2) Release is built using Dist::Zilla dzil build
Then either
3) Release is published on CPAN
4) Module gets installed using cpan Finance::Quote
.
or
3) Release is published somewhere else, e.g. GitHub
4) Manual install:
4a) download the release
4b) unpack it
type those 3 commands (CLI) in the main directory of the unpacked archive:
4c) perl Makefile.PL
4d) make
4e) make install
I use Windows 7 with Strawberry Perl and don't have Dist::Zilla. I wanted to omit installing/learning the Dist::Zilla so I decided to omit the step 1) (it's not necessary for private emergency use when waiting for official release) and tried updating files in the already 'dzil-built' release (like cracking old games, huh?), so I also omitted step 2).
So I did this:
- instead of steps 1-4b) for current release
I think that cpan downloads the release.tar.gz
into%PERL_DIR%\cpan\sources\authors\id\B\BP\BPSCHUCK\Finance-Quote-1.52.tar.gz
then extracts it to%PERL_DIR%\cpan\build\Finance-Quote-1.52-0
, so the 'dzil-built' files are already on disk. Here we are at step 4b) of the currently installed version of Finance::Quote. - instead of steps 4a-b) for new version
I downloaded the source from GitHub and unpacked (somewhere, e.g. desktop). Then copied just the/lib
directory from source into the%PERL_DIR%\cpan\build\Finance-Quote-1.52-0
directory. - step 4c)
I double-clicked theMakefile.pl
. It should run automatically – if not, thenperl Makefile.pl
in CLI, from the%PERL_DIR%\cpan\build\Finance-Quote-1.52-0
directory. - step 4d)
Neither Windows nor Strawberry Perl hasmake.exe
, but Strawberry Perl hasgmake.exe
that works the same. So use commandgmake
from the same directory. - step 4e)
As above – rungmake install
.
I don't know if it's clear enough, but you can make a doc out of it and link here for any questions.
from finance-quote.
While it's appreciated, with Perl there is usually a few ways to accomplish something (Larry Wall, Perl's creator used to say that all the time). People versed in Perl may play with setting the PERL5LIB environment variable or otherwise changing the value of @INC
to avoid possibly corrupting modules installed normally. So thanks, but your suggestion is appreciated but is not going to be incorporated at this time.
- Bruce S
from finance-quote.
Related Issues (20)
- YahooJSON not setting Exchange Correctly
- Finance Quote 1.56 - Crashing Gnucash / Error for Gnucash v5+ HOT 2
- Add CONTRIBUTING.md
- Change URL used by YahooWeb
- YahooJSON does not work for some shares HOT 9
- Documentation Housekeeping
- YahooJson returning 404 not found HOT 4
- YahooWeb Returning Bad Price
- Bloomberg Returning Parse Error HOT 6
- quotes install fails: `t/exit_with_message.t ... Use of uninitialized value $err in pattern match` HOT 6
- Finance::Quote is intentionally leaking information about its users to a third-party server HOT 2
- Update to add Yahoo cookies and crumbs for Yahoo JSON. HOT 10
- BSEIndia.pm inserts extra string into return value on retrieval failure HOT 1
- TSP.pm
- TSP module downloading in ordinate amount of data HOT 2
- FTfunds possibly rejecting funds that have a colon in the symbol/code HOT 4
- Fidelity.pm Not Working HOT 4
- `XETRA.pm` no longer working HOT 4
- Get Quotes Throws Error HOT 3
- GoogleWeb.pm does not support BATS exchange HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finance-quote.