Re: Python package importer for BuildStream
- From: Jim MacArthur <jim macarthur codethink co uk>
- To: Mathieu Bridon <bochecha daitauha fr>, buildstream-list gnome org
- Subject: Re: Python package importer for BuildStream
- Date: Tue, 13 Feb 2018 17:01:19 +0000
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]