GithubHelp home page GithubHelp logo

disrupt-xspec's Introduction

disrupt-xspec

Compiling

First copy Makefile.in.template to Makefile.in

$ cp Makefile.in.template Makefile.in

Your LD_LIBRARY_PATH or DYLD_LIBRARY_PATH may have to include the Xspec's lib/ directory.

Running

The HEADAS environment variable must be set. HEADAS points to the directory of the Xspec installation (the directory that ends with the platform name of your machine).

Building and Running xsmodels Python Package

The HEADAS environment variable must be set and possibly (DY)LD_LIBRARY_PATH. Navigate to the xsmodels directory and do an in-place build:

$ python setup.py build_ext -i

In order to build the python package, you can now do:

$ python setup.py install

Note: if your python packages are located somewhere that requires sudo access, you might want to use sudo -E in order to preserve the environment variables set above.

You should run the tests to make sure the package built and installed correctly. Note: you need to have the pytest package installed. In the top level directory, type

$ py.test

This will collect and run all tests. Ideally, no tests should throw errors. If any do, something went wrong with the installation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.