Skip to content

Commit

Permalink
Add bpython
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Feb 4, 2014
1 parent 9bed075 commit eb9111f
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bpython/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"%PYTHON%" setup.py install
if errorlevel 1 exit 1

:: 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.
9 changes: 9 additions & 0 deletions bpython/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

$PYTHON setup.py install

# 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.
70 changes: 70 additions & 0 deletions bpython/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
package:
name: bpython
version: !!str 0.12

source:
fn: bpython-0.12.tar.gz
url: https://pypi.python.org/packages/source/b/bpython/bpython-0.12.tar.gz
md5: 14cbe92620d386a769b3faa282a1d6c3
# patches:
# List any patch files here
# - fix.patch

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

- bpython = bpython.cli:main
- bpython-urwid = bpython.urwid:main
- bpython-gtk = bpython.gtk_:main

# 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
- pygments

run:
- python
- pygments
- urwid

test:
# Python imports
imports:
- bpython.test
- bpython.translations
- bpython
- bpdb

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

- bpython --help
- bpython-urwid --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

about:
home: http://bpython-interpreter.org
license: MIT

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml

0 comments on commit eb9111f

Please sign in to comment.