Browse Source

Merge pull request #72 from patacrep/stdeb

Quick and dirty debian package
pull/76/head
Luthaf 10 years ago
parent
commit
58f13cfa9c
  1. 10
      readme.md
  2. 7
      setup.py
  3. 6
      stdeb.cfg

10
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
```

7
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={

6
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
Loading…
Cancel
Save