Re: Python package importer for BuildStream



On 13/02/18 16:24, Mathieu Bridon wrote:
Hi Jim,

You could make it use `kind: pip` and just remove you install-commands.
For example, for something without dependencies, the following should
be enough:

```
kind: pip

sources:
- kind: zip
   url: pypi:p/pytz/pytz-2017.2.zip
```

Also, I defined the "pypi" alias in my project.conf:

```
aliases:
   pypi: https://files.pythonhosted.org/packages/source/
```


Excellent! I hadn't spotted the pip plugin until now - I'll modify my script so it uses it.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]