mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
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:
parent
0b007a0c70
commit
f7081ac853
5 changed files with 25 additions and 6 deletions
|
@ -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
5
recipe/build.sh
Normal 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
|
|
@ -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
BIN
recipe/xonsh.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
11
recipe/xonsh_shortcut.json
Normal file
11
recipe/xonsh_shortcut.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue