You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10-13
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
## TkinterDnD2
2
2
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) .
5
4
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`.
8
6
9
-
## install
7
+
This repository is being maintained to ensure availability of `tkinterdnd2` into the future.
8
+
9
+
## Install
10
10
11
11
`python -m pip install tkinterdnd2`
12
12
13
-
## usage
13
+
## Usage
14
14
15
15
```python
16
16
import tkinter as tk
@@ -38,7 +38,7 @@ see any of the [demos](./demos) for usage examples.
38
38
39
39
Tkinter native drag and drop support for windows, unix and Mac OSX.
40
40
41
-
## What is TkInterDnD2
41
+
## What is TkinterDnD2
42
42
43
43
[TkinterDnD2](http://tkinterdnd.sourceforge.net) is a python wrapper for George Petasis' tkDnD Tk extension version 2.
44
44
@@ -50,17 +50,14 @@ It is a domain public project.
50
50
51
51
## What this repository is about
52
52
53
-
It package TkinterDnD2 and tkdnd2 into a standard python module.
53
+
This repo package TkinterDnD2 and tkdnd2 into a standard python module.
54
54
55
55
When the extension is imported in python its location will be automatically added to the Tk search path.
56
56
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.
59
58
60
59
## pyinstaller
61
60
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:
0 commit comments