@@ -59,26 +59,32 @@ The basic workflow for contributing is:
59
59
```
60
60
git checkout -b name-of-your-branch
61
61
```
62
- 4 . Install the dependencies listed in ` requirements.txt ` and ` requirements-dev.txt ` .
62
+ 4 . Install the [ miniconda] ( https://docs.conda.io/en/latest/miniconda.html ) to avoid any external library errors.
63
+
64
+ If using ` conda ` one can create a development environment with:
65
+ ```
66
+ $ conda create --name FOLIUM python=3.7 --file requirements.txt --file requirements-dev.txt
67
+ ```
68
+ 5 . Install the dependencies listed in ` requirements.txt ` and ` requirements-dev.txt ` .
63
69
```
64
70
pip install -r requirements.txt
65
71
pip install -r requirements-dev.txt
66
72
```
67
- 5 . Install Firefox, download [ geckodriver] ( https://github.com/mozilla/geckodriver/releases )
73
+ 6 . Install Firefox, download [ geckodriver] ( https://github.com/mozilla/geckodriver/releases )
68
74
and put it in the PATH.
69
- 6 . Make changes to your local copy of the folium repository
70
- 7 . Make sure the tests pass:
71
- * in the repository folder do ` pip install -e . ` (needed for notebook tests)
75
+ 7 . Make changes to your local copy of the folium repository
76
+ 8 . Make sure the tests pass:
77
+ * in the repository folder do ` pip install -e . --no-deps ` (needed for notebook tests)
72
78
* run ` python -m pytest tests `
73
79
* run ` flake8 folium --max-line-length=120 `
74
80
* resolve all errors
75
- 8 . Commit those changes
81
+ 9 . Commit those changes
76
82
```
77
83
git add file1 file2 file3
78
84
git commit -m 'a descriptive commit message'
79
85
```
80
- 9 . Push your updated branch to your fork
86
+ 10 . Push your updated branch to your fork
81
87
```
82
88
git push origin name-of-your-branch
83
89
```
84
- 10 . [ Open a pull request] ( https://help.github.com/articles/creating-a-pull-request/ ) to the python-visualization/folium
90
+ 11 . [ Open a pull request] ( https://help.github.com/articles/creating-a-pull-request/ ) to the python-visualization/folium
0 commit comments