2021-05-06 02:32:47 +08:00
|
|
|
<package-info :package="package" showsbu></package-info>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
new Vue({
|
|
|
|
el: '#main',
|
|
|
|
data: { package: {} },
|
|
|
|
mounted: function () {
|
|
|
|
this.getPackage('python');
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
getPackage: function(name) {
|
|
|
|
getPackage(name)
|
|
|
|
.then(response => this.package = response);
|
|
|
|
},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
## Настройка
|
|
|
|
|
|
|
|
```bash
|
2021-06-28 12:28:44 +08:00
|
|
|
./configure --prefix=/usr --enable-shared \
|
|
|
|
--without-ensurepip
|
2021-05-06 02:32:47 +08:00
|
|
|
```
|
|
|
|
|
2021-06-10 21:28:16 +08:00
|
|
|
### Значения параметров
|
2021-05-06 02:59:51 +08:00
|
|
|
|
2021-07-20 15:37:42 +08:00
|
|
|
`--enable-shared` - включает установку динамических библиотек;
|
2021-05-06 02:59:51 +08:00
|
|
|
|
2021-07-20 15:37:42 +08:00
|
|
|
`--without-ensurepip` - менеджер пакетов `pip` не нужен на данном этапе.
|
2021-05-06 02:59:51 +08:00
|
|
|
|
2021-05-06 02:32:47 +08:00
|
|
|
## Сборка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
## Установка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make install
|
|
|
|
```
|