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!
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:
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:
and then could
import tkinterdnd2in the project.one note: please note that currently your package name is tkinterdnd2-pmgagne so users need to do
python -m pip install tkinterdnd2-pmgagneso 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!