Skip to content

Commit

Permalink
Add conda recipe to the sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritemio committed Jan 21, 2015
1 parent 172fe65 commit 335a5d0
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 0 deletions.
9 changes: 9 additions & 0 deletions conda.recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"%PYTHON%" setup.py build
"%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.
10 changes: 10 additions & 0 deletions conda.recipe/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

$PYTHON setup.py build
$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.
77 changes: 77 additions & 0 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
package:
name: fretbursts
version: {{ environ['GIT_DESCRIBE_TAG'] }}

source:
#path: ../fretbursts/
git_url: https://github.com/tritemio/fretbursts.git
#git_url: ../fretbursts/
#git_tag : 0.4rc6.dev3
# fn: fretbursts-0.4rc5.zip
# url: https://pypi.python.org/packages/source/f/fretbursts/fretbursts-0.4rc5.zip
# md5: 6c8fd936f30b4f9678756e5aeff18c7f

build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
#string: {{ '0' if environ.get('GIT_BUILD_STR', '').startswith('0_') else environ.get('GIT_BUILD_STR', '') }}

requirements:
build:
- python
- libpython [win64]
- setuptools
- cython 0.20*
- numpy
- scipy
- matplotlib
- lmfit
- seaborn

run:
- python
- numpy
- scipy
- matplotlib
- lmfit
- seaborn
- pyqt
- pytables
- pandas

test:
# Python imports
imports:
- fretbursts

# 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: http://github.com/tritemio/FRETBursts/
license: GPLv2
summary: 'Burst analysis toolkit for single and multi-spot smFRET data.'

# If the app key is present, the package will be an app, meaning it will
# appear in the Anaconda launcher.
app:
# The command that is called to launch the app
entry: ipython notebook
# Icon file contained in the recipe
#icon: icon_64x64.png
summary: 'Burst analysis toolkit for single and multi-spot smFRET data.'
# If own_environment is true, installing the app through the launcher
# will install into its own environment. The default is false.
#own_environment: true

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

0 comments on commit 335a5d0

Please sign in to comment.