From eaa08162edd3ff3656671c904afc7e4599448f71 Mon Sep 17 00:00:00 2001 From: Vincent Mazenod <vmazenod@gmail.com> Date: Wed, 21 Nov 2018 10:48:02 +0100 Subject: [PATCH] freeze pip bootsrap3 + i18n = gettext to be fixed --- .gitignore | 2 +- .gitlab-ci.yml | 2 +- README.md | 5 ++++- requirements.txt | 19 +++++++++++++++++++ setup.py | 14 -------------- 5 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 requirements.txt delete mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 60d36e6..6ea6b71 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ pelican.pid srv.pid blog_limos.egg-info node_modules -venv +.venv diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a0dccf9..87baabf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ build: script: - apt-get install -y --force-yes build-essential python-dev python-pip git nodejs nodejs-legacy npm - pip install --upgrade pip==9.0.3 - - pip install --editable . + - pip install -r requirements.txt - cd content && npm install && cd .. - sed -i "s/RELATIVE_URLS = True/RELATIVE_URLS = False/" pelicanconf.py - apt-get install -y --force-yes locales diff --git a/README.md b/README.md index f81eaa8..c5dd84a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,10 @@ ## Installer les dépendances ```bash -sudo pip install --editable . +virtualenv -p /usr/bin/python3 .venv +source .venv/bin/activate +pip install -r requirements.txt +git submodule init git submodule update --recursive --remote ``` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..20d6784 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,19 @@ +appdirs==1.4.3 +beautifulsoup4==4.5.3 +blinker==1.4 +docutils==0.13.1 +feedgenerator==1.9 +Jinja2==2.9.5 +lxml==3.7.3 +Markdown==2.6.8 +MarkupSafe==0.23 +packaging==16.8 +pelican==3.7.1 +Pygments==2.2.0 +pyparsing==2.2.0 +python-dateutil==2.6.0 +pytz==2016.10 +six==1.10.0 +smartypants==2.0.0 +typogrify==2.0.7 +Unidecode==0.4.20 diff --git a/setup.py b/setup.py deleted file mode 100644 index 9583b4e..0000000 --- a/setup.py +++ /dev/null @@ -1,14 +0,0 @@ -from setuptools import setup - -setup( - name='blog-limos', - version='1.0', - include_package_data=True, - install_requires=[ - 'pelican', - 'pygments', - 'markdown', - 'beautifulsoup4', - 'typogrify' - ] -) -- GitLab