Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1574f65

Browse files
committedJul 31, 2024
Update README.md
1 parent 6f5b3ec commit 1574f65

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed
 

‎README.md

+10-13
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
## TkinterDnD2
22

3-
[Eliav2/tkinterdnd2](https://github.com/Eliav2/tkinterdnd2) is a fork of the (unmaintained) [pmgagne/tkinterdnd2](https://github.com/pmgagne/tkinterdnd2) which is a python wrapper for [tkdnd](https://github.com/petasis/tkdnd)
4-
.
3+
[Eliav2/tkinterdnd2](https://github.com/Eliav2/tkinterdnd2) is a fork of the (unmaintained) [pmgagne/tkinterdnd2](https://github.com/pmgagne/tkinterdnd2) which is a python wrapper for [tkdnd](https://github.com/petasis/tkdnd) .
54

6-
The repo was forked and edited to be published to pypi so one could simply install this package
7-
with `pip install tkinterdnd2`.
5+
This repo was originally forked and edited for the purpose of publishing to pypi so one could simply install this package with `pip install tkinterdnd2`.
86

9-
## install
7+
This repository is being maintained to ensure availability of `tkinterdnd2` into the future.
8+
9+
## Install
1010

1111
`python -m pip install tkinterdnd2`
1212

13-
## usage
13+
## Usage
1414

1515
```python
1616
import tkinter as tk
@@ -38,7 +38,7 @@ see any of the [demos](./demos) for usage examples.
3838

3939
Tkinter native drag and drop support for windows, unix and Mac OSX.
4040

41-
## What is TkInterDnD2
41+
## What is TkinterDnD2
4242

4343
[TkinterDnD2](http://tkinterdnd.sourceforge.net) is a python wrapper for George Petasis' tkDnD Tk extension version 2.
4444

@@ -50,17 +50,14 @@ It is a domain public project.
5050

5151
## What this repository is about
5252

53-
It package TkinterDnD2 and tkdnd2 into a standard python module.
53+
This repo package TkinterDnD2 and tkdnd2 into a standard python module.
5454

5555
When the extension is imported in python its location will be automatically added to the Tk search path.
5656

57-
In this project we use the pre-compiled release
58-
from https://github.com/petasis/tkdnd/releases/tag/tkdnd-release-test-v2.9.2 and copy them in tkinterdnd2/tkdnd.
57+
This repository contains the compiled binaries from https://github.com/petasis/tkdnd/releases/tag/tkdnd-release-test-v2.9.4. In order to provide support on ARM, we include built binaries from the now defunct [tkinterdnd2-universal](https://pypi.org/project/tkinterdnd2-universal/#files) which added ARM support.
5958

6059
## pyinstaller
6160

62-
If you want to use pyinstaller, you should use the hook-tkinterdnd2.py file included. Copy it in the base directory of
63-
your project, then:
61+
When using `pyinstaller`, you should use the hook-tkinterdnd2.py file included to collect the TkDnD binaries and build them into the project. To use it, copy it into the base directory of your project, then run pyinstaller as follows:
6462

6563
pyinstaller -F -w myproject/myproject.py --additional-hooks-dir=.
66-

0 commit comments

Comments
 (0)
Please sign in to comment.