Skip to content

Commit

Permalink
Merge pull request numenta#1579 from david-ragazzi/build_extensions
Browse files Browse the repository at this point in the history
Pythonic build: Switch from cmake to distutils extensions for nupic installation
  • Loading branch information
rhyolight committed Jan 19, 2015
2 parents 7d68372 + 92ac498 commit 83de484
Show file tree
Hide file tree
Showing 5 changed files with 599 additions and 132 deletions.
12 changes: 5 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ test.out
*.swp
*.coverage*

# build
build/

# personalized nupic configuration file
.nupic_config

Expand Down Expand Up @@ -63,16 +66,11 @@ extensions/core/
experimental/

# nupic bindings swig libraries
nupic/bindings/*engine_internal.*
nupic/bindings/*algorithms.*
nupic/bindings/*iorange.*
nupic/bindings/*math.*
nupic/bindings/*.cxx
nupic/bindings/proto/*.capnp
nupic/bindings/
~nupic/bindings/*.i

# Pip stuff
dist/
nupic.egg-info/
nupic/*cpp_region.*
temp/

2 changes: 1 addition & 1 deletion ci/travis/install-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ python --version

# Build NuPIC
cd ${TRAVIS_BUILD_DIR}
python setup.py install --user
ARCHFLAGS="-arch x86_64" python setup.py install --user

# Show nupic installation folder by trying to import nupic, if works, it prints
# the absolute path of nupic.__file__, which the installation folder itself.
Expand Down
17 changes: 0 additions & 17 deletions extensions/compare_nupic_core_version.cpp

This file was deleted.

3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build_ext]
inplace=1

Loading

0 comments on commit 83de484

Please sign in to comment.