Feat: Create dockerfile to test in new env

This commit is contained in:
Bertrand Benjamin 2022-05-04 18:03:58 +02:00
parent d9bd4ca5a1
commit 467135abc6
3 changed files with 16 additions and 35 deletions

15
Dockerfile Normal file
View File

@ -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

View File

@ -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

View File

@ -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']