From 66724911fc01034f09b4240a4dfe4df1155bb4b4 Mon Sep 17 00:00:00 2001 From: p
Date: Mon, 12 Dec 2022 13:51:56 +0100
Subject: [PATCH] update readme pour windows
---
README.md | 33 ++++++++++++++++++++++-----------
1 file changed, 22 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 4fb566b..6638af9 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,29 @@
-# Environnement virtuel pour python
-python3 -m venv scrapy-env
+# Windows
+## Dépendances
+- [Python >= 3.5](https://www.python.org/downloads/windows/)
+- [Microsoft Visual C++ Build-tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)
-(unix-like) source scrapy-env/bin/activate
+ *Ces modules doivent être installés :*
-(windows) tutorial-env\Scripts\activate.bat
+ 
-# Installation des dépendances
-python -m pip install --upgrade pip
+- [Librairie libxml2](https://www.lfd.uci.edu/~gohlke/pythonlibs/#libxml-python) (documentation en haut de page)
-python -m pip install regex
-python -m pip install scrapy
+## Environnement virtuel et modules python
+### Environnement virtuel
-# Lancement de scrapy
-cd src
+Mise en place d'un environnement virtuel pour scrapy dans lequel seront installées les dépendances :
-scrapy crawl perils -O perils.csv
+ python -m venv scrapy-env
+ scrapy-env\Scripts\activate.bat
+
+
+### Modules
+ python -m pip install --upgrade pip
+ python -m pip install regex
+ python -m pip install scrapy
+
+## Lancement de scrapy
+ cd src
+ scrapy crawl perils -O perils.csv
\ No newline at end of file