From fde6f424542f30f4c955c350ab5e1243f6e0abba Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Tue, 1 Sep 2015 16:13:23 +0200 Subject: [PATCH] conda: add conda package recipe for pythonparser. Closes #122 --- conda/pythonparser/bld.bat | 2 ++ conda/pythonparser/build.sh | 2 ++ conda/pythonparser/meta.yaml | 24 ++++++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 conda/pythonparser/bld.bat create mode 100644 conda/pythonparser/build.sh create mode 100644 conda/pythonparser/meta.yaml diff --git a/conda/pythonparser/bld.bat b/conda/pythonparser/bld.bat new file mode 100644 index 000000000..c8c1ee0d1 --- /dev/null +++ b/conda/pythonparser/bld.bat @@ -0,0 +1,2 @@ +pip install regex +%PYTHON% setup.py install diff --git a/conda/pythonparser/build.sh b/conda/pythonparser/build.sh new file mode 100644 index 000000000..1e07e90fb --- /dev/null +++ b/conda/pythonparser/build.sh @@ -0,0 +1,2 @@ +pip install regex +$PYTHON setup.py install diff --git a/conda/pythonparser/meta.yaml b/conda/pythonparser/meta.yaml new file mode 100644 index 000000000..6ef508192 --- /dev/null +++ b/conda/pythonparser/meta.yaml @@ -0,0 +1,24 @@ +package: + name: pythonparser + version: 0.0 + +source: + git_url: https://github.com/m-labs/pythonparser + git_tag: master + +build: + number: 0 + +requirements: + build: + - python + - setuptools + +test: + imports: + - pythonparser + +about: + home: http://m-labs.hk/pythonparser/ + license: BSD + summary: 'PythonParser is a Python parser written specifically for use in tooling. It parses source code into an AST that is a superset of Python’s built-in ast module, but returns precise location information for every token.'