Update conda recipes

Removed the app entry in meta.yaml, since this feature is not very mature. Instead added a menu item entry to start xonsh.
This commit is contained in:
Morten Enemark Lund 2015-12-03 22:30:27 +01:00
parent 0b007a0c70
commit f7081ac853
5 changed files with 25 additions and 6 deletions

View file

@ -1 +1,4 @@
python setup.py install --conda
python setup.py install --conda
copy "%RECIPE_DIR%\xonsh_shortcut.json" "%PREFIX%\Menu\xonsh_shortcut.json"
copy "%RECIPE_DIR%\xonsh.ico" "%PREFIX%\Menu\xonsh.ico"

5
recipe/build.sh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
$PYTHON setup.py install --conda
cp ${RECIPE_DIR}/xonsh_shortcut.json ${PREFIX}/Menu/xonsh_shortcut.json
cp ${RECIPE_DIR}/xonsh.ico ${PREFIX}/Menu/xonsh.ico

View file

@ -6,7 +6,6 @@ source:
path: ../
build:
script: python setup.py install --conda
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
entry_points:
- xonsh = xonsh.main:main
@ -20,13 +19,14 @@ requirements:
run:
- python
- ply
- prompt_toolkit # [win]
- prompt_toolkit
about:
home: http://xonsh.org/
license: BSD
summary: xonsh is a Python-ish, BASHwards-compatible shell.
app:
entry: xonsh
icon: ../docs/_static/ascii_conch_part_color.png
# Removed temporarily until this is better support by the Anaconda launcher
#app:
# entry: xonsh
# icon: icon.png

BIN
recipe/xonsh.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

View file

@ -0,0 +1,11 @@
{
"menu_name": "Anaconda${PY_VER} ${PLATFORM}",
"menu_items":
[
{
"name": "xonsh",
"pyscript": "${PYTHON_SCRIPTS}/xonsh-script.py",
"icon": "${MENU_DIR}/xonsh.ico"
}
]
}