diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..dd0b1b8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.11-rc-alpine3.14 + +RUN apk add --no-cache --virtual python3-dev +COPY requirements.txt /tmp/ +RUN pip install -r /tmp/requirements.txt + +RUN mkdir -p /src/bopytex +COPY bopytex/ /src/bopytex +COPY setup.py /src/ +RUN pip install -e /src +COPY example /example + +WORKDIR /example +CMD bopytex -n 2 tpl_example.tex + diff --git a/requirements.txt b/requirements.txt index 6c00717..e69de29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,33 +0,0 @@ -alabaster==0.7.10 -appdirs==1.4.3 -Babel==2.4.0 -decorator==4.0.11 -docutils==0.13.1 -imagesize==0.7.1 -ipython==5.3.0 -ipython-genutils==0.2.0 -Jinja2==2.9.6 -location==0.0.7 -MarkupSafe==1.0 -mpmath==0.19 -packaging==16.8 -pexpect==4.2.1 -pickleshare==0.7.4 -prompt-toolkit==1.0.14 -ptyprocess==0.5.1 -Pygments==2.2.0 -pyparsing==2.2.0 -## !! Could not determine repository location -pytz==2017.2 -requests==2.13.0 -simplegeneric==0.8.1 -six==1.10.0 -snowballstemmer==1.2.1 -Sphinx==1.5.5 -sphinx-rtd-theme==0.2.4 -sympy==1.0 -traitlets==4.3.2 -wcwidth==0.1.7 -mapytex==2.0.8 -mypytex==0.2 -path.py==12.1 diff --git a/setup.py b/setup.py index b1cddb8..0de5bf0 100644 --- a/setup.py +++ b/setup.py @@ -11,9 +11,8 @@ setup( author_email='programming@opytex.org', packages=['bopytex'], install_requires=[ - 'mapytex', - 'mypytex', 'click', + 'jinja2', ], entry_points={ "console_scripts": ['bopytex=bopytex.script:new']