publish in pypi as tkinterdnd2
hey friend! thank you so much for these great distribution files(setup.py and stuff), also great stuff to check platform !! I've been searching for something like this for weeks!
now using the distributing-packages-using-setuptools guide we can build proper wheel and distribute it to pypi!
in the root directory run:
>> python -m pip install wheel
>> python setup.py bdist_wheel --universal
that will build a wheel file in dist folder (dist/tkinterdnd2_pmgagne-0.3.0-py2.py3-none-any.whl) which can be easily installed by pip!
(heres a download: tkinterdnd2-0.3.0-py2.py3-none-any.zip)
on other python projects(which run on virtual env) we will run:
>> .\venv\Scripts\python.exe -m pip install tkinterdnd2_pmgagne-0.3.0-py2.py3-none-any.whl
and then could import tkinterdnd2 in the project.
one note: please note that currently your package name is tkinterdnd2-pmgagne so users need to do python -m pip install tkinterdnd2-pmgagne so change the name in the setup.py to tkinterdnd2 (the recommendation to add username at the end in the distributing guide is just a recommendation and no one does it).
now please,after updating, distribute this wheel to Pypi so others could simply do python -m pip install tkinterdnd2 , this can be great!
thank you!
Please publish this, as i am installing from wheel atm which is quite annoying!
Well, the author did not responded so I forked this repo and published it to pypi myself. to install - just run
pip install tkinterdnd2
. enjoy!
@Eliav2 did you manage to freeze a project using your tkinterdnd2 module using PyInstaller? I cannot make the hook to include the datas properly. When run from PyCharm it works great, when frozen, throws error that it didn't find tkdnd.
I don't know I used the hook myself and it dud work
I don't know I used the hook myself and it dud work
Do you recall if you used venv for that project?
I think the author has gone inactive for 2021
And I switched to wxPython which supports drag an drop from explorer into ui elements and easily compiles to exe with pyInstaller.
Well, the author did not responded so I forked this repo and published it to pypi myself. to install - just run
pip install tkinterdnd2. enjoy!
While this as a good solution in the first place, @Eliav2 would you please also enable Issues (maybe also Discussions) for the fork? It's easy to do, here is how it works. Thanks in advance. 😄
As you asked, done
בתאריך יום ג׳, 14 בפבר׳ 2023, 12:32, מאת Wolf-SO @.***
:
Well, the author did not responded so I forked https://github.com/Eliav2/tkinterdnd2/tree/master this repo and published it to pypi myself. to install - just run
pip install tkinterdnd2
. enjoy!
@Eliav2 https://github.com/Eliav2 would you please enable Issues (maybe also Discussions) for the fork as well? It's easy to do, here is how it works https://stackoverflow.com/q/16406180/2932052. Thanks in advance. 😄
— Reply to this email directly, view it on GitHub https://github.com/pmgagne/tkinterdnd2/issues/5#issuecomment-1429495697, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI5Y4NMTU4JRD3TIWWINPLWXNNMHANCNFSM42NNMTJA . You are receiving this because you were mentioned.Message ID: @.***>