diff --git a/.gitignore b/.gitignore index 60d36e62d82e09b7e84ad3cc199f21f6daed76fc..6ea6b7186b69734aacce6953f7ea10daca2bcc1d 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 a0dccf96e43ab66904a9e9743348214689503c21..87baabfa2c7a615908ebe8931b424a9256a430fd 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 f81eaa8a87f4cc1ec34ecca2db62c9e26fd3f842..c5dd84ab5d6ab0b83caf92883f8cd8b3dcdcbbc4 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 0000000000000000000000000000000000000000..20d67841cb9050862d1967762b7b8ad1a1e6e492 --- /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 9583b4e85702455eeaf23424b51b03249fc82db8..0000000000000000000000000000000000000000 --- 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' - ] -)