No Development Guide
See original GitHub issueDescription
It is not clear how to begin editing a forked version of this. This may be trivial to a seasoned python dev, but I am not one. My apologies, and thank you for making this available to us.
I know this project has been well though-out, and forked many times. Is there a guide or youtube video for developing your own fork?
Steps/Code to Reproduce
- Forked original project
- Created a
venv
virtualenv running python 3.8.12 - Added print statements to
setup.py
,wordcloud_cli.py
, andwordcloud.py
, while also editing the code sometimes for a sanity check. - Ran
python setup.py develop
- Ran
wordcloud_cli --text sza.txt --imagefile wordcloud.jpeg --mask sza.jpeg --repeat
Expected Results
Expected the print statements to show. Or the edited code to have an effect.
Actual Results
But nothing happens. It’s as though it has some saved built version is still running / being compiled. (However, the print statement in setup.py
DID show. None of the other code changes seem to have an effect though.)
Versions
macOS-10.15.7-x86_64-i386-64bit Python 3.8.12 (default, Oct 13 2021, 06:42:19) [Clang 12.0.0 (clang-1200.0.32.29)] NumPy 1.22.3 matplotlib 3.5.1 wordcoud 1.8.1.post9.dev0+g35ce9b7
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
I create 2 directories: …/word_cloud/lib .…/word_cloud/src containing the git clone and execute
python3 setup.py develop --install-dir .../word_cloud/lib
. add.../word_cloud/lib
to the PYTHONPATH. usefrom word_cloud.src.wordcloud import WordCloud
in my test.Thanks for fast reply, my env is ready.
My bad, it was a localhosted link, I correct the post with a proper link. Render may vary with browser when using such a svg feature, the properest is FireFox. If interested tell me the branch I open a PR.