Skip to content

Commit

Permalink
switched to poetry and respect poetry's folder structure, version 0.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri-one committed Nov 9, 2021
1 parent 34d740e commit 8f30472
Showing 30 changed files with 122 additions and 52 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -6,4 +6,5 @@ easydict.glade~
/easydict_gtk.egg-info/
/easydict-gtk.egg-info/
venv
test_venv
dist
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,10 +2,6 @@
The first open source translator which is completely open with dictionary data too. The homepage is http://easydict.jiri.one. On this page you can also try the search results, which will be the same as in the app (however, the web application does not use TinyDB+orjson as a backend, but uses RethinkDB - the source data is the same).
**The application is at an early stage of development, but the features and dictionaries that have already been implemented work very well.**

## Table of Contents

[TOC]

## What is it

EasyDict is a simple translator that will translate, typically, one word in one language into another language. This translator has several, sometimes unique, features.
@@ -44,8 +40,8 @@ To-Do-List
- [X] get the homepage https://easydict.jiri.one back online
- [ ] create tests for backend
- [ ] add the possibility to use other dictionaries
- [ ] optimize the application for touch control so that it can be run on Phosh - https://puri.sm/projects/phosh/ using libhanda - https://gitlab.gnome.org/GNOME/libhandy
- [ ] ? maybe swith to poetry
- [ ] optimize the application for touch control so that it can be run on Phosh - https://puri.sm/projects/phosh/ using libhandy - https://gitlab.gnome.org/GNOME/libhandy
- [X] ? maybe swith to poetry
- [ ] create FlatPak package and publish it on FlatHub
- [ ] create ArchLinux package an publish it on AUR
- [ ] ...
3 changes: 0 additions & 3 deletions easydict/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions easydict/__main__.py

This file was deleted.

3 changes: 3 additions & 0 deletions easydict_gtk/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from easydict_gtk.easydict import EasyDict

__all__ = ['EasyDict']
3 changes: 3 additions & 0 deletions easydict_gtk/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from easydict_gtk.easydict import main

main()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion easydict/src/settings.py → easydict_gtk/settings.py
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
from pathlib import Path

# set current working directory
cwd = Path(__file__).parent.parent
cwd = Path(__file__).parent
cwd_images = cwd / "images"
cfg_dir = Path.home() / ".config" / "easydict" # set user config directory
cfg_dir.mkdir(exist_ok=True) # create the config directory if not exists
File renamed without changes.
File renamed without changes.
86 changes: 86 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[tool.poetry]
name = "easydict-gtk"
version = "0.3.7"
description = "The first open source translator which is completely open with dictionary data too."
authors = ["jiri.one <[email protected]>"]
license = "GPL-3.0-only"
readme = "README.md"
exclude = ["easydict_gtk/garbage"]


[tool.poetry.dependencies]
python = "^3.9"
PyGObject = "^3.42.0"
pycairo = "^1.20.1"
tinydb = "^4.5.2"
orjson = "^3.6.4"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
easydict-gtk = 'easydict_gtk.easydict:main'

36 changes: 0 additions & 36 deletions setup.py

This file was deleted.

0 comments on commit 8f30472

Please sign in to comment.