diff --git a/readme.md b/readme.md index fb2301dd..d293c596 100644 --- a/readme.md +++ b/readme.md @@ -33,6 +33,16 @@ pip3 install -r Requirements.txt python3 setup.py install ``` +## Quick and dirty Debian (and Ubuntu?) package + +This requires [stdeb](https://github.com/astraw/stdeb) to be installed. + +``` +python setup.py --command-packages=stdeb.command bdist_deb +sudo dpkg -i deb_dist/python3-patacrep_4.0.0-1_all.deb +``` + + # Run ``` diff --git a/setup.py b/setup.py index 6d1233e0..3313371f 100755 --- a/setup.py +++ b/setup.py @@ -17,13 +17,8 @@ setup( url='https://github.com/patacrep/patacrep', packages=find_packages(), license="GPLv2 or any later version", - requires=[ - "argparse", "codecs", "distutils", "fnmatch", "glob", "json", - "locale", "logging", "os", "re", "subprocess", "sys", - "textwrap", "unidecode", "jinja2", "chardet" - ], install_requires=[ - "argparse", "unidecode", "jinja2", "chardet", "ply" + "unidecode", "jinja2", "chardet", "ply", ], include_package_data=True, entry_points={ diff --git a/stdeb.cfg b/stdeb.cfg new file mode 100644 index 00000000..cca615c0 --- /dev/null +++ b/stdeb.cfg @@ -0,0 +1,6 @@ +[DEFAULT] +Debian-Version: 1 +Section: tex +Depends3: texlive, texlive-latex-base, texlive-latex-recommended, texlive-latex-extra +Recommends3: lilypond, texlive-lang-english, texlive-lang-french, texlive-lang-portuguese, texlive-lang-spanish, texlive-fonts-extra +Copyright-File: LICENSE