Skip to content

Commit 47e6583

Browse files
committed
v2.1.2: Remove __version__.py and default-config.ini
1 parent 32f7497 commit 47e6583

File tree

8 files changed

+354
-369
lines changed

8 files changed

+354
-369
lines changed

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
include arabic_reshaper/__init__.py
2-
include arabic_reshaper/__version__.py
32
include arabic_reshaper/arabic_reshaper.py
4-
include arabic_reshaper/default-config.ini
53
include arabic_reshaper/letters.py
64
include arabic_reshaper/ligatures.py
75
include arabic_reshaper/reshaper_config.py

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ form of letters.
132132

133133
Besides the settings above, you can enable/disable supported ligatures. For a
134134
full list of supported ligatures and their default status check the file
135-
[default-config.ini](default-config.ini).
135+
[default-config.ini](https://github.com/mpcabd/python-arabic-reshaper/blob/32f7497aa24a68ab880d0248b21715928f0ce212/arabic_reshaper/default-config.ini).
136136

137137
There are multiple ways that you can configure the reshaper in, choose the one
138138
that suits your deployment:
@@ -248,6 +248,10 @@ https://github.com/mpcabd/python-arabic-reshaper/tarball/master
248248

249249
## Version History
250250

251+
### 2.1.2
252+
253+
* Remove dependency on `__version__.py` and `default-config.ini` files, as they were causing problems for people who package their apps using pyinstaller or buildozer.
254+
251255
### 2.1.1
252256

253257
* Fix a warning. See #57. Thanks @fbernhart

arabic_reshaper/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
ENABLE_ALL_LIGATURES)
1010

1111

12-
with open(os.path.join(os.path.dirname(__file__), '__version__.py')) as fh:
13-
exec(fh.read())
12+
__version__ = '2.1.2'

arabic_reshaper/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.1.1'
1+
__version__ = '2.1.2'

arabic_reshaper/default-config.ini

Lines changed: 0 additions & 328 deletions
This file was deleted.

0 commit comments

Comments
 (0)