Skip to content

Commit

Permalink
Updated conda build.
Browse files Browse the repository at this point in the history
Also fixed instructions per github issue rlabbe#29.
  • Loading branch information
rlabbe committed Jun 20, 2016
1 parent 0323e49 commit 6cc0d18
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 4 deletions.
1 change: 1 addition & 0 deletions conda/conda_install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $ conda config --set anaconda_upload no

$ cd ~/Dropbox/filterpy/conda
$ edit meta.yaml, update version #
$ conda skeleton pypi --version 0.1.2 filterpy
$ conda build .

$ conda convert --platform all ~/anaconda3/conda-bld/linux-64/filterpy-0.1.2-0.tar.bz2
Expand Down
8 changes: 8 additions & 0 deletions conda/filterpy/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 conda/filterpy/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.
77 changes: 77 additions & 0 deletions conda/filterpy/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
package:
name: filterpy
version: "0.1.3"

source:
fn: filterpy-0.1.3.tar.gz
url: https://pypi.python.org/packages/75/df/5dbf357a3da1b49af18b2be00da15c7f86397b5b263bea1b9d65b5bd51cf/filterpy-0.1.3.tar.gz
md5: ba1e6fb84efaae3d21a73ba9fb563cab
# patches:
# List any patch files here
# - fix.patch

# build:
# noarch_python: True
# preserve_egg_dir: True
# entry_points:
# Put any entry points (scripts to be generated automatically) here. The
# syntax is module:function. For example
#
# - filterpy = filterpy:main
#
# Would create an entry point called filterpy that calls filterpy.main()


# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
# number: 1

requirements:
build:
- python
- setuptools
- numpy
- scipy
- matplotlib

run:
- python
- numpy
- scipy
- matplotlib

test:
# Python imports
imports:
- filterpy
- filterpy.common
- filterpy.discrete_bayes
- filterpy.examples
- filterpy.gh
- filterpy.hinfinity
- filterpy.kalman
- filterpy.leastsq
- filterpy.memory
- filterpy.monte_carlo
- filterpy.stats

# 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/rlabbe/filterpy
license: MIT License
summary: 'Kalman filtering and optimal estimation library'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
8 changes: 4 additions & 4 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package:
name: filterpy
version: "0.1.2"
version: "0.1.3"

source:
fn: filterpy-0.1.2.tar.gz
url: https://pypi.python.org/packages/source/f/filterpy/filterpy-0.1.2.tar.gz
md5: 15941385b73ec4e6d72f306d1c5b4621
fn: filterpy-0.1.3.tar.gz
url: https://pypi.python.org/packages/source/f/filterpy/filterpy-0.1.3.tar.gz
md5: ba1e6fb84efaae3d21a73ba9fb563cab
# patches:
# List any patch files here
# - fix.patch
Expand Down

0 comments on commit 6cc0d18

Please sign in to comment.