Skip to content

Commit

Permalink
Add conda recipe for pyrdl
Browse files Browse the repository at this point in the history
RingDecomposerLib with python wrapper
  • Loading branch information
mliu49 committed Jul 6, 2018
1 parent 413847a commit b9ead1f
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pyrdl/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
:: SET VS90COMNTOOLS=%VS140COMNTOOLS%

mkdir build
cd build
cmake.exe -G"Visual Studio 14 2015" .. -DBUILD_PYTHON_WRAPPER=ON
if errorlevel 1 exit 1
MSBuild.exe ALL_BUILD.vcxproj /property:Configuration=Release
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.
12 changes: 12 additions & 0 deletions pyrdl/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON_WRAPPER=ON
make

# 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.
33 changes: 33 additions & 0 deletions pyrdl/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package:
name: pyrdl
version: "1.1"

source:
git_url: https://github.com/rareylab/RingDecomposerLib.git
git_rev: v1.1

build:
number: 0

requirements:
build:
- python
- cython
run:
- python

test:
source_files:
- 'build/*'

imports:
- py_rdl

commands:
- cd build [unix]
- make test [unix]

about:
home: https://github.com/rareylab/RingDecomposerLib
license: BSD-3-Clause
summary: RingDecomposerLib for calculation of Unique Ring Families (URFs) and other cycle bases (Relevant Cycles (RC), Smallest Set of Smallest Rings (SSSR)).

0 comments on commit b9ead1f

Please sign in to comment.