Skip to content

Commit

Permalink
Merge pull request #9 from WorksApplications/fix/pip_install_error
Browse files Browse the repository at this point in the history
Fix import error before installing dependent packages
  • Loading branch information
t-yamamura authored Feb 7, 2022
2 parents 924dfc9 + 6367dcd commit d0b958b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion chikkarpy/chikkar.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from .dictionarylib import Dictionary
from typing import TYPE_CHECKING


if TYPE_CHECKING:
from .dictionarylib import Dictionary


class Chikkar(object):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dartsclone~=0.9.0
sortedcontainers~=2.1.0
sortedcontainers>=2.1.0
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

from setuptools import find_packages, setup


download_dictionary()

setup(
name="chikkarpy",
use_scm_version=True,
Expand All @@ -37,6 +34,9 @@
},
install_requires=[
"dartsclone~=0.9.0",
"sortedcontainers~=2.1.0"
"sortedcontainers>=2.1.0"
]
)

# Downloads the Sudachi Synonym dictionary
download_dictionary()

0 comments on commit d0b958b

Please sign in to comment.