Skip to content

Commit

Permalink
Added cookiecutter and dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Greenfeld committed Jan 26, 2015
1 parent 524d4f2 commit 0197eb3
Show file tree
Hide file tree
Showing 7 changed files with 144 additions and 0 deletions.
8 changes: 8 additions & 0 deletions binaryornot/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 binaryornot/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.
48 changes: 48 additions & 0 deletions binaryornot/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
package:
name: binaryornot
version: !!str 0.3.0

source:
fn: binaryornot-0.3.0.tar.gz
url: https://pypi.python.org/packages/source/b/binaryornot/binaryornot-0.3.0.tar.gz
md5: 8f5bdbeb5ca31075582b42fdf4ce28f5
# patches:
# List any patch files here
# - fix.patch

build:
number: 1

requirements:
build:
- python
- setuptools

run:
- python

test:
# Python imports
imports:
- binaryornot

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


# 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: https://github.com/audreyr/binaryornot
license: BSD License
summary: 'Ultra-lightweight pure Python package to check if a file is binary or text.'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
8 changes: 8 additions & 0 deletions cookiecutter/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 cookiecutter/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.
Binary file added cookiecutter/cookiecutter-0.9.1.tar.gz
Binary file not shown.
62 changes: 62 additions & 0 deletions cookiecutter/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
package:
name: cookiecutter
version: !!str 0.9.1

source:
fn: cookiecutter-0.9.1.tar.gz
url: https://pypi.python.org/packages/source/c/cookiecutter/cookiecutter-0.9.1.tar.gz
md5: ea02caabba54412eb94f8bd0ac8c9ef8
# patches:
# List any patch files here
# - fix.patch

build:
# preserve_egg_dir: True
entry_points:

- cookiecutter = cookiecutter.main:main

number: 2

requirements:
build:
- python
- setuptools
- binaryornot >=0.2.0
- jinja2 >=2.4
- pyyaml >=3.10

run:
- python
- binaryornot >=0.2.0
- jinja2 >=2.4
- pyyaml >=3.10



test:
# Python imports
imports:
- cookiecutter

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

- cookiecutter --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: https://github.com/audreyr/cookiecutter
license: BSD License
summary: 'A command-line utility that creates projects from project templates, e.g. creating a Python package project from a Python package project template.'

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

0 comments on commit 0197eb3

Please sign in to comment.