Giter VIP home page Giter VIP logo

Comments (3)

cdeil avatar cdeil commented on June 1, 2024

The issue is that for python setup.py build_ext --inplace, the sherpa_config.build_configure method here is never called, which appends the psf and some other extensions to ext_modules:

            self.distribution.ext_modules.append(build_ext('psf', *build_lib_arrays(self, 'fftw')))
            self.distribution.ext_modules.append(build_ext('wcs', *build_lib_arrays(self, 'wcs')))

Following the advice of @taldcroft at #15 (comment) and #13 (comment) I'll now try to get python setup.py install working in a Conda environment for Sherpa development.

But it would be nice if in the future someone could make python setup.py build_ext --inplace and thus python setup.py develop work.

from sherpa.

olaurino avatar olaurino commented on June 1, 2024

You need to add the sherpa_config command in order to have all of the extensions built.

This seems to work for me:
python setup.py sherpa_config build_ext --inplace

After that, I can also python setup.py develop, although the stack extension does not get installed automatically.

I will take this ticket as a request to make python setup.py develop work transparently, which will include making sure that the external python extensions are correctly installed.

from sherpa.

cdeil avatar cdeil commented on June 1, 2024

@olaurino – I just now tried again, and now installing Sherpa and sherpa_test work for me with my normal Python environment (Macports), which is convenient for me. Thank you!

from sherpa.

Related Issues (20)

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.