perspective-python 3.0.0-alpha.1

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
// ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
// ┃ ██████ ██████ ██████       █      █      █      █      █ █▄  ▀███ █       ┃
// ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█  ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄  ▀█ █ ▀▀▀▀▀ ┃
// ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄   █ ▄▄▄▄▄ ┃
// ┃ █      ██████ █  ▀█▄       █ ██████      █      ███▌▐███ ███████▄ █       ┃
// ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
// ┃ Copyright (c) 2017, the Perspective Authors.                              ┃
// ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
// ┃ This file is part of the Perspective library, distributed under the terms ┃
// ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

fn main() {
    pyo3_build_config::add_extension_module_link_args();

    // let lib_dir = format!(
    //     // Only do if building for Python
    //     "{}/../perspective-python/perspective",
    //     std::env::var("CARGO_MANIFEST_DIR").unwrap()
    // );

    // if cfg!(target_os = "macos") {
    //     println!("cargo:rustc-link-arg=-Wl,-rpath,@loader_path/");
    // } else {
    //     println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN/");
    // }

    // // println!("cargo:rustc-link-search=native={}/build", dst.display());
    // println!("cargo:rustc-link-search=native={}", &lib_dir);
    // println!("cargo:rustc-link-lib=psp");

    // println!("cargo:rerun-if-changed=../../cpp/perspective");
    // println!("cargo:rerun-if-changed=perspective/libpsp.so");
    // println!("cargo:rerun-if-changed=include/server.h");
    // println!("cargo:rerun-if-changed=src/server.cpp");
    // println!("cargo:rerun-if-changed=src/lib.rs");
}