From 55c4743f18f7def56a0158a0591279ca01044182 Mon Sep 17 00:00:00 2001 From: Marek Otahal Date: Sun, 19 Apr 2020 23:45:19 +0200 Subject: [PATCH 1/2] conda: add environment with cmake & pip packages needed for HTMcore Missing: cpp-httplib, mnist, libyaml --- environment.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 environment.yml diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000000..b8a5a13108 --- /dev/null +++ b/environment.yml @@ -0,0 +1,29 @@ +## HTMcore dependencies manged by Conda +# Use as an alternative to cmake & pip requirements.txt +# +name: htmcore +channels: + - default + - conda-forge +dependencies: + - python==3.7 + - pip>=19.3 + - git + - cmake + - conda-forge:clangxx>=9.0 + - conda-forge:eigen + - conda-forge:gtest + - conda-forge:cereal + - pip: + - setuptools>=34.4.0 # needed for Windows with MSVC + - wheel>=0.33.6 + ## for python bindings (in /bindings/py/) + - numpy>=1.15 + - pytest==4.6.5 #4.6.x series is last to support python2, once py2 dropped, we can switch to 5.x + ## for python code (in /py/) + - hexy>=1.4.3 # for grid cell encoder + - mock>=1.0.1 # for anomaly likelihood test + - prettytable>=0.7.2 # for monitor-mixin in htm.advanced (+its tests) + ## optional dependencies, such as for visualizations, running examples + # should be placed in setup.py section extras_require. Install those by + # pip install htm.core[examples] From 772f32877c6416f5ae33562f8107165ee1245080 Mon Sep 17 00:00:00 2001 From: Marek Otahal Date: Mon, 1 Jun 2020 11:06:55 +0200 Subject: [PATCH 2/2] conda env: force cmake version >= 3.14 --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index b8a5a13108..8f88afac74 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ dependencies: - python==3.7 - pip>=19.3 - git - - cmake + - cmake>=3.14 #>=3.7, >=3.14 needed for MSVC 2019 - conda-forge:clangxx>=9.0 - conda-forge:eigen - conda-forge:gtest