Add Xonsh app & workflow

This commit is contained in:
Valentin Niess
2020-04-03 21:58:12 +02:00
parent 6d694001cd
commit 7c9f412b1a
5 changed files with 60 additions and 0 deletions

30
.github/workflows/applications.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: PyPI
on:
push:
paths:
- '.github/workflows/applications.yml'
- 'applications/**'
- 'python_appimage/**'
jobs:
Test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['2.7', '3.5']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.version }}
- name: Test scipy
run: |
python -m python_appimage build app applications/scipy
test -e scipy-x86_64.AppImage
- name: Test xonsh
run: |
python -m python_appimage build app applications/xonsh
test -e xonsh-x86_64.AppImage

View File

@@ -0,0 +1 @@
{{ python-executable }} -u -c 'from xonsh.main import main; main()' "$@"

View File

@@ -0,0 +1,3 @@
xonsh
prompt_toolkit
Pygments

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>xonsh</id>
<metadata_license>Python-2.0</metadata_license>
<project_license>Python-2.0</project_license>
<name>Xonsh</name>
<summary>Xonsh on Python {{ python-fullversion }}
</summary>
<description>
<p> Python {{ python-fullversion }} + Xonsh bundled in an AppImage.
</p>
</description>
<launchable type="desktop-id">xonsh.desktop</launchable>
<url type="homepage">http://xon.sh</url>
<provides>
<binary>python{{ python-version }}</binary>
</provides>
</component>

View File

@@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=xonsh
Exec=xonsh
Comment=Xonsh on Python {{ python-fullversion }}
Icon=python
Categories=System;
Terminal=true