Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Rodeo recipe with App section #676

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions rodeo/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
set MENU_DIR=%PREFIX%\Menu
mkdir %MENU_DIR%

set SCRIPT_DIR=%PREFIX%\Scripts
mkdir %SCRIPT_DIR%

copy %RECIPE_DIR%\rodeo.ico %MENU_DIR%
if errorlevel 1 exit 1

copy %RECIPE_DIR%\menu-windows.json %MENU_DIR%\rodeo.json
if errorlevel 1 exit 1

%PYTHON% setup.py install
if errorlevel 1 exit 1

14 changes: 14 additions & 0 deletions rodeo/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

$PYTHON setup.py install

if [ `uname` == Darwin ]
then
cp $RECIPE_DIR/rodeo_mac.command $PREFIX/bin
fi

# Add more build steps here, if they are necessary.

# See
# http://docs.continuum.io/conda/build.html
# for a list of environment variables that are set during the build process.
Binary file added rodeo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions rodeo/menu-windows.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"menu_name": "Anaconda${PY_VER} ${PLATFORM}",
"menu_items":
[
{
"name": "Rodeo",
"pyscript": "${PYTHON_SCRIPTS}/rodeo-script.py %HOMEPATH%",
"icon": "${MENU_DIR}/rodeo.ico"
}
]
}
84 changes: 84 additions & 0 deletions rodeo/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
package:
name: rodeo
version: "0.4.4"

source:
fn: rodeo-0.4.4.tar.gz
url: https://pypi.python.org/packages/source/r/rodeo/rodeo-0.4.4.tar.gz
md5: cbd93b992b508eb6f0915214b3201661
# patches:
# List any patch files here
# - fix.patch

build:
# noarch_python: True
# preserve_egg_dir: True
entry_points:
# Put any entry points (scripts to be generated automatically) here. The
# syntax is module:function. For example
#
# - rodeo = rodeo:main
#
# Would create an entry point called rodeo that calls rodeo.main()

- rodeo = rodeo.cli:cmd

# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
# number: 1

requirements:
build:
- python
- setuptools
- jupyter
- flask >=0.10.1
- docopt
- pyzmq >=13
- mistune

run:
- python
- jupyter
- flask >=0.10.1
- docopt
- pyzmq >=13
- mistune

test:
# Python imports
imports:
- rodeo

commands:
# You can put test commands to be run here. Use this to test that the
# entry points work.

- rodeo --help

# You can also put a file called run_test.py in the recipe that will be run
# at test time.

# requires:
# Put any additional test requirements here. For example
# - nose
app:
entry: rodeo . [not osx]
entry: open ${PREFIX}/bin/rodeo_mac.command [osx]
icon: logo.png
summary: Rodeo Data Science IDE
type: web

about:
home: http://rodeo.yhat.com/
license: BSD
summary: 'A web-based environment for interactive Data Science'
description: |
Rodeo is an IDE that was built expressly for doing data science in Python.
Think of it as a light weight alternative to the IPython Notebook.
doc_url: http://rodeo.yhat.com/docs/
dev_url: https://github.com/yhat/rodeo

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
Binary file added rodeo/rodeo.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions rodeo/rodeo_mac.command
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIR=$(dirname $0)

$DIR/rodeo ${HOME}