Commit e497d2fc authored by Thomas Vogt's avatar Thomas Vogt

setup.py: requirements

parent fb5d25e0
[submodule "thirdparty/pyglossary"]
path = thirdparty/pyglossary
url = https://github.com/ilius/pyglossary
......@@ -43,16 +43,8 @@ commands from the root directory of the repository:
git clone https://framagit.org/tuxor1337/dictmaster
cd ./dictmaster
All the conversion to stardict is done with the help of pyglossary
(https://github.com/ilius/pyglossary). Therefore, before you start you have
to pull in the third party code with
git submodule update --init
and install using
pip3 install -e ./
pip3 install --user wheel
pip3 install --user -e ./
Running `dictmaster` then starts a graphical user interface.
However, many features are exclusively available through the command line:
......
thirdparty/pyglossary/pyglossary
\ No newline at end of file
from setuptools import setup, find_packages
pyglossary_base_url = "https://github.com/ilius/pyglossary"
pyglossary_version = "3.2.1"
pyglossary_url = "{url}/archive/{ver}.tar.gz".format(
url=pyglossary_base_url, ver=pyglossary_version)
pyglossary_pkg = "pyglossary @ {0}#egg=pyglossary-{1}".format(pyglossary_url, pyglossary_version)
setup(
name='Dictmaster',
version='0.1',
......@@ -17,6 +23,15 @@ setup(
keywords='dictionary language download',
packages=find_packages(),
package_data={'': ['*.glade']},
install_requires=[
"PyGObject",
"pyquery",
"beautifulsoup4",
"jinja2",
"lxml",
"html5lib",
pyglossary_pkg,
],
scripts=["bin/dictmaster"],
project_urls={ 'Source': 'https://framagit.org/tuxor1337/dictmaster', },
)
Subproject commit 9d40c3dc30d36ea1a9f3d8df25f4d4718c79b9ef
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment