Skip to content

Commit

Permalink
Add without comments, don't speak about it
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Mar 1, 2019
1 parent 902637c commit 0019a67
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 21 deletions.
5 changes: 0 additions & 5 deletions etc/conda/python-statiskit_core/bld.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
echo ON

if "%PY3K%" == "1" (
2to3 -n -w %SRC_DIR%\src\py\autowig
2to3 -n -w %SRC_DIR%\test
)

scons py --prefix=%LIBRARY_PREFIX% -j%CPU_COUNT% --arch=%ARCH%
if errorlevel 1 exit 1

Expand Down
7 changes: 1 addition & 6 deletions etc/conda/python-statiskit_core/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
set -ve

if [[ "$PY3K" = "1" ]]; then
2to3 -n -w $SRC_DIR/src/py/statiskit
2to3 -n -w $SRC_DIR/test
fi

scons py --prefix=$PREFIX -j$CPU_COUNT
scons py --prefix=${PREFIX} -j${CPU_COUNT}

set +ve
19 changes: 12 additions & 7 deletions etc/conda/python-statiskit_core/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
package:
name: python-statiskit_core
version: "1.0.0"
version: {{ GIT_DESCRIBE_VERSION }}

source:
path: ../../..

build:
number: 0
number: {{ GIT_DESCRIBE_NUMBER }}

about:
home: http://statiskit-core.readthedocs.io
license: Apache License 2.0

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- libtoolchain
- python-toolchain
- libboost_python-dev
- libstatiskit_core
host:
- libpybind11-dev
- libstatiskit_stl-dev
- libstatiskit_stl
- libstatiskit_linalg-dev
- libstatiskit_linalg
- python
run:
- libstatiskit_core
- python-statiskit_linalg
- python-statiskit_stl
- {{ pin_compatible('libstatiskit_stl', exact=True) }}
- {{ pin_compatible('libstatiskit_linalg', exact=True) }}
- python

test:
Expand Down
3 changes: 0 additions & 3 deletions src/cpp/AutoWIG.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
def controller(asg):
from scons_tools.site_autowig.controller.statiskit_stl import controller as stl_controller
asg = stl_controller(asg, library=False)
# import pdb
# pdb.set_trace()
# node = 'class ::statiskit::Selection< struct ::statiskit::DiscreteUnivariateDistribution, struct ::statiskit::DiscreteUnivariateDistributionEstimation >::Estimator'
return asg

0 comments on commit 0019a67

Please sign in to comment.