mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 04:10:15 +01:00
Add Xonsh app & workflow
This commit is contained in:
30
.github/workflows/applications.yml
vendored
Normal file
30
.github/workflows/applications.yml
vendored
Normal 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
|
||||
1
applications/xonsh/entrypoint.sh
Normal file
1
applications/xonsh/entrypoint.sh
Normal file
@@ -0,0 +1 @@
|
||||
{{ python-executable }} -u -c 'from xonsh.main import main; main()' "$@"
|
||||
3
applications/xonsh/requirements.txt
Normal file
3
applications/xonsh/requirements.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
xonsh
|
||||
prompt_toolkit
|
||||
Pygments
|
||||
18
applications/xonsh/xonsh.appdata.xml
Normal file
18
applications/xonsh/xonsh.appdata.xml
Normal 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>
|
||||
8
applications/xonsh/xonsh.desktop
Normal file
8
applications/xonsh/xonsh.desktop
Normal 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
|
||||
Reference in New Issue
Block a user