Richard Larkin
8416d46fd4
Fix flake8 CI check on toolchain, remaining recipes ( #456 )
...
* 🔥 Fix flake8 checks for host_setuptools3
* 🔥 Fix flake8 checks for kivy recipe
* ✨ Fix flake8 for toolchain.py
* 💡 Set python3 as the default python
* Add .tox and ven to .gitignore
* Update toolchain.py
Co-Authored-By: Andre Miras <AndreMiras@users.noreply.github.com>
Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-27 07:29:11 +02:00
Richard Larkin
64bd692632
Flake8 CI fixes ( #451 )
...
* Pep8 fixes
* tox Pep8 compliance
* Excluded external tools folder from flake 8 tests
* Added Flake 8 exclusions
* Pep8 fixes
* Pep8 fixes
* Corrected type
* Pep8 fixes
* Pep 8 compliance
* Pep8 fixes
* Pep8 fixes
* Pep8 fixes
* Pep8 fixes
* Pep 8 fixes
* Pep 8 fixes
* Pep8 fixes
* Pep8 fixes
* Pep8 fixes
* Pep8
* Pep8
* Pep 8
* Pep 8
* Pep8 fixes
* Pep8
* Pep8
* Pep8
* Pep8 fixes
* Pep8 fixes
* Pep8 fixes
* Pep8 fixes
* Pep8 fixes
* Revert chagnes
* Revert changes to kivy/__init.py
* Revert changes
* REvert changes
* Revert changes
* Revert changes to toolchain
* Add files exclusions to tox.ini
* Added exclusions for alias recipes
* Remove dead code
* Added py extension to recipes
* Removed recipe build skip
* Improves recipe matching
Previous expression was matching all the following three lines of a `git diff --name-only` output.
```
recipes/hostlibffi/__init__.py
recipes/hostpython.py
recipes/hostpython2/__init__.py
```
This was resulting to a bug when later splitting with `recipe = file_path.split('/')[1]` the `recipes/hostpython.py` string would return including the `\n` new line char, see:
```
>>> 'recipes/hostpython.py\n'.split('/')[1]
'hostpython.py\n'
>>> 'recipes/hostlibffi/__init__.py\n'.split('/')[1]
'hostlibffi'
>>>
```
Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-25 18:28:16 +02:00
Benoît HERVIER
ee7abed8dc
Fix python recipe folder with the right python folder (python2 or python3) #363 ( #364 )
2019-09-16 19:53:14 +02:00
Hackalog
7dd350c75b
Use python logging infrastructure ( #357 )
2019-02-07 10:00:22 +01:00
Mathieu Virbel
fa5229f2a4
make python/hostpython version in the first list of recipes mandatory, otherwise we dont know which python version it will uses
2018-11-10 01:40:55 +01:00
Mathieu Virbel
0e52dab468
fix recipes order with hostpython/python alias that didnt work in the first run
2018-11-09 19:14:05 +01:00
Mathieu Virbel
811cbd48a7
add alias for hostpython/python, that point to either 2 or 3 version depending of the previous compiled state.
...
This allows the recipe to point on an versionless python.
2018-11-02 11:44:25 +01:00