tkinterdnd2 icon indicating copy to clipboard operation
tkinterdnd2 copied to clipboard

publish in pypi as tkinterdnd2

Open Eliav2 opened this issue 4 years ago • 9 comments

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!

Eliav2 avatar Apr 05 '21 20:04 Eliav2

Please publish this, as i am installing from wheel atm which is quite annoying!

alex-ong avatar Jun 03 '21 04:06 alex-ong

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 avatar Jun 05 '21 16:06 Eliav2

@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.

deshudiosh avatar Sep 21 '21 15:09 deshudiosh

I don't know I used the hook myself and it dud work

Eliav2 avatar Sep 21 '21 15:09 Eliav2

I don't know I used the hook myself and it dud work

Do you recall if you used venv for that project?

deshudiosh avatar Sep 21 '21 15:09 deshudiosh

I think the author has gone inactive for 2021

MXP2095onetechguy avatar Oct 26 '21 05:10 MXP2095onetechguy

And I switched to wxPython which supports drag an drop from explorer into ui elements and easily compiles to exe with pyInstaller.

deshudiosh avatar Oct 26 '21 21:10 deshudiosh

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. 😄

Wolf-SO avatar Feb 14 '23 10:02 Wolf-SO

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: @.***>

Eliav2 avatar Feb 14 '23 11:02 Eliav2