mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
require numpy 1.7, not 1.8
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#define NO_IMPORT_ARRAY
|
||||
#include <RDBoost/python.h>
|
||||
#define PY_ARRAY_UNIQUE_SYMBOL rdinfotheory_array_API
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_8_API_VERSION
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
#include <numpy/arrayobject.h>
|
||||
|
||||
#include <RDBoost/Wrap.h>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <RDBoost/python.h>
|
||||
|
||||
#define PY_ARRAY_UNIQUE_SYMBOL rdinfotheory_array_API
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_8_API_VERSION
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
#include <numpy/arrayobject.h>
|
||||
|
||||
#include <RDBoost/Wrap.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef RDKIT_IMPORT_ARRAY_INCLUDED
|
||||
#define RDKIT_IMPORT_ARRAY_INCLUDED
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_8_API_VERSION
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
#include <numpy/arrayobject.h>
|
||||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <RDBoost/python.h>
|
||||
|
||||
#include <boost/python/numeric.hpp>
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_8_API_VERSION
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
#include <numpy/arrayobject.h>
|
||||
#include <RDBoost/Wrap.h>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <RDBoost/python.h>
|
||||
#include <RDBoost/Wrap.h>
|
||||
#include <boost/python/numeric.hpp>
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_8_API_VERSION
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
#include <numpy/arrayobject.h>
|
||||
#include <map>
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ For more details on building from source with Conda, see the [conda-rdkit reposi
|
||||
|
||||
Due to the conda python distribution being a different version to the system python, it is easiest to install PostgreSQL and the PostgreSQL python client via conda.
|
||||
|
||||
With your envirinment activated, this is done simply by:
|
||||
With your environment activated, this is done simply by:
|
||||
|
||||
conda install -c https://conda.binstar.org/rdkit rdkit-postgresql
|
||||
|
||||
|
||||
Reference in New Issue
Block a user