Skip to content

Commit 9aac503

Browse files
authored
fix: remove unused import from pkg_resources (#81)
Removing the unused import allows to remove setuptools from install_requires. Fixes #77.
1 parent 47db986 commit 9aac503

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

arabic_reshaper/reshaper_config.py

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import os
1313

1414
from configparser import ConfigParser
15-
from pkg_resources import resource_filename
1615

1716
from .letters import (UNSHAPED, ISOLATED, LETTERS_ARABIC)
1817
from .ligatures import (SENTENCES_LIGATURES,

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
license="MIT",
2020
packages=['arabic_reshaper'],
2121
install_requires=['configparser; python_version <"3"',
22-
'future',
23-
'setuptools'],
22+
'future'],
2423
extras_require={
2524
'with-fonttools': ['fonttools>=4.0; python_version >="3"',
2625
'fonttools>=3.0,<4.0; python_version <"3"']

0 commit comments

Comments
 (0)