Commit graph

3 commits

Author SHA1 Message Date
Richard Larkin
7cb14fc7da
Fix/host setuptools3 (#533)
* status

* ♻️ Extract context managers

* 🎨 Fix typo

*  Use python_prefix

*  Remove unused import

* 📦 Trigger pipeline

Co-authored-by: richard <richard@dotmodus>
2020-07-26 21:07:10 +02:00
Andre Miras
2a06bec1db Updates netifaces recipe, leverages python_depends
- Uses the `python_depends` feature introduced in #455
2020-05-13 18:03:11 +02:00
Andre Miras
d61008a94a Adds netifaces recipe, closes #239
Note this is an early version working on the `x86_64` simulator.
It wasn't tested on an arm device.
Requires setuptools to be installed:
```sh
python toolchain.py pip install setuptools
```
Tested with main.py:
```python
import netifaces
print("interfaces:", netifaces.interfaces())
```
And produced the following output in the `x86_64` simulator:
```
Available orientation: KIVY_ORIENTATION=LandscapeLeft LandscapeRight Portrait PortraitUpsideDown
Initializing python
Running main.py: /Users/vagrant/Library/Developer/CoreSimulator/Devices/.../Application/.../testnetifaces.app/YourApp/main.pyc
interfaces: ['lo0', 'gif0', 'stf0', 'en0', 'utun0', 'utun1']
Leaving
```
2020-05-07 16:40:54 +02:00