mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
Merge pull request #3559 from xxh/rever_appimage
xonsh AppImage to xonsh GitHub assets
This commit is contained in:
commit
9d83bf9aba
8 changed files with 62 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -76,3 +76,6 @@ venv/
|
|||
|
||||
# VS Code
|
||||
.vscode/
|
||||
|
||||
# AppImage
|
||||
*.AppImage
|
1
appimage/README.rst
Normal file
1
appimage/README.rst
Normal file
|
@ -0,0 +1 @@
|
|||
This directory contains xonsh AppImage description to build with https://github.com/niess/python-appimage/.
|
2
appimage/entrypoint.sh
Normal file
2
appimage/entrypoint.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#! /bin/bash -i
|
||||
{{ python-executable }} -u "${APPDIR}/opt/python{{ python-version }}/bin/xonsh" "$@"
|
2
appimage/pre-requirements.txt
Normal file
2
appimage/pre-requirements.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
prompt_toolkit
|
||||
Pygments
|
17
appimage/xonsh.appdata.xml
Normal file
17
appimage/xonsh.appdata.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>xonsh</id>
|
||||
<metadata_license>MIT</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
appimage/xonsh.desktop
Normal file
8
appimage/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
|
23
news/rever_appimage.rst
Normal file
23
news/rever_appimage.rst
Normal file
|
@ -0,0 +1,23 @@
|
|||
**Added:**
|
||||
|
||||
* Added xonsh AppImage to the GitHub release assets
|
||||
|
||||
**Changed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Removed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Security:**
|
||||
|
||||
* <news item>
|
|
@ -1,6 +1,9 @@
|
|||
from rever.activities.ghrelease import git_archive_asset
|
||||
|
||||
|
||||
$PROJECT = $GITHUB_ORG = $GITHUB_REPO = 'xonsh'
|
||||
$WEBSITE_URL = 'http://xon.sh'
|
||||
$ACTIVITIES = ['authors', 'version_bump', 'changelog', 'pytest',
|
||||
$ACTIVITIES = ['authors', 'version_bump', 'changelog', 'pytest', 'appimage'
|
||||
'tag', 'push_tag', 'ghrelease', 'sphinx',
|
||||
'ghpages', 'pypi', 'conda_forge',
|
||||
]
|
||||
|
@ -35,3 +38,5 @@ $DOCKER_INSTALL_COMMAND = ('rm -rf .cache/ __pycache__/ */__pycache__ */*/__pyca
|
|||
'./setup.py install')
|
||||
$DOCKER_GIT_NAME = 'xonsh'
|
||||
$DOCKER_GIT_EMAIL = 'xonsh@googlegroups.com'
|
||||
|
||||
$GHRELEASE_ASSETS = [git_archive_asset(), 'xonsh-x86_64.AppImage']
|
Loading…
Add table
Reference in a new issue