-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
V9.0.0
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
set MENU_DIR=%PREFIX%\Menu | ||
if not exist %MENU_DIR% mkdir %MENU_DIR% | ||
if errorlevel 1 exit 1 | ||
copy %SRC_DIR%\Menu\msui_shortcut.json %MENU_DIR%\msui_shortcut.json | ||
if errorlevel 1 exit 1 | ||
copy %SRC_DIR%\Menu\mss.ico %MENU_DIR%\mss.ico | ||
if errorlevel 1 exit 1 | ||
mkdir "%PREFIX%\Menu" | ||
copy /Y "%RECIPE_DIR%\menu.json" "%PREFIX%\Menu\%PKG_NAME%_menu.json" | ||
copy /Y "%RECIPE_DIR%\msui.ico" "%PREFIX%\Menu\msui.ico" | ||
|
||
; conda-build issue 5311, currently we can't build for windows with pip install | ||
%PYTHON% setup.py install --single-version-externally-managed --record record.txt | ||
if errorlevel 1 exit 1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
mkdir -p "${PREFIX}/Menu" | ||
cp "${RECIPE_DIR}/menu.json" "${PREFIX}/Menu/${PKG_NAME}_menu.json" | ||
cp "${RECIPE_DIR}/msui.png" "${PREFIX}/Menu/msui.png" | ||
|
||
"${PYTHON}" -m pip install . --no-deps -vv |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft-07/schema", | ||
"$id": "https://schemas.conda.io/menuinst-1.schema.json", | ||
"menu_name": "Mission Support System", | ||
"menu_items": [ | ||
{ | ||
"name": "MSUI ({{ ENV_NAME }})", | ||
"description": "Mission Support System MSUI", | ||
"activate": true, | ||
"icon": "{{ MENU_DIR }}/msui.{{ ICON_EXT }}", | ||
"command": [ | ||
"{{ PYTHON }}", | ||
"{{ PREFIX }}/bin/msui" | ||
], | ||
"platforms": { | ||
"win": { | ||
"command": [ | ||
"{{ PYTHON }}", | ||
"{{ SCRIPTS_DIR }}/msui-script.py" | ||
], | ||
"file_extensions": [".menuinst"] | ||
}, | ||
"linux": { | ||
"Categories": ["Internet", "Science"], | ||
"Keywords": ["documentation", "information"], | ||
"StartupNotify": true, | ||
"MimeType": ["application/x-menuinst"], | ||
"glob_patterns": { | ||
"application/x-menuinst": "*.menuinst" | ||
} | ||
}, | ||
"osx": { | ||
"CFBundleDocumentTypes": [ | ||
{ | ||
"CFBundleTypeName": "org.conda.menuinst.msui", | ||
"CFBundleTypeRole": "Viewer", | ||
"LSItemContentTypes": ["org.conda.menuinst.main-file-uti"], | ||
"LSHandlerRank": "Default" | ||
} | ||
], | ||
"UTExportedTypeDeclarations": [ | ||
{ | ||
"UTTypeConformsTo": ["public.data", "public.content"], | ||
"UTTypeIdentifier": "org.conda.menuinst.main-file-uti", | ||
"UTTypeTagSpecification": { | ||
"public.filename-extension": ["menuinst"] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} |