diff --git a/rodeo/bld.bat b/rodeo/bld.bat new file mode 100644 index 000000000..b754509f0 --- /dev/null +++ b/rodeo/bld.bat @@ -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 + diff --git a/rodeo/build.sh b/rodeo/build.sh new file mode 100644 index 000000000..5aa512023 --- /dev/null +++ b/rodeo/build.sh @@ -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. diff --git a/rodeo/logo.png b/rodeo/logo.png new file mode 100644 index 000000000..b1e4bc83e Binary files /dev/null and b/rodeo/logo.png differ diff --git a/rodeo/menu-windows.json b/rodeo/menu-windows.json new file mode 100644 index 000000000..9992edc4e --- /dev/null +++ b/rodeo/menu-windows.json @@ -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" + } + ] +} diff --git a/rodeo/meta.yaml b/rodeo/meta.yaml new file mode 100644 index 000000000..4f1645d89 --- /dev/null +++ b/rodeo/meta.yaml @@ -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 diff --git a/rodeo/rodeo.ico b/rodeo/rodeo.ico new file mode 100644 index 000000000..4181b945f Binary files /dev/null and b/rodeo/rodeo.ico differ diff --git a/rodeo/rodeo_mac.command b/rodeo/rodeo_mac.command new file mode 100755 index 000000000..3ec4160d5 --- /dev/null +++ b/rodeo/rodeo_mac.command @@ -0,0 +1,3 @@ +DIR=$(dirname $0) + +$DIR/rodeo ${HOME}