Coder Social home page Coder Social logo

Comments (5)

dpryan79 avatar dpryan79 commented on August 17, 2024

That's a clever idea. I've started on that here: #134

I can't say I'm very familiar with optional requirements in python, do you think what I've done there will suffice or do you have different suggestions there?

from pybigwig.

EricR86 avatar EricR86 commented on August 17, 2024

So I have some follow-up suggestions for this particular issue since having an optional build requirement, that when necessary for anything downstream, will unfortunately not work:

  1. Make numpy a strict build requirement
  1. Provide alternative packages in pypi for numpy and non-numpy versions. The numpy version will still need one of the solutions listed in 1. above

It also worth noting that numpy.distutils will be deprecated in Python 3.12 so unfortunately the build will eventually break as-is for users.

from pybigwig.

EricR86 avatar EricR86 commented on August 17, 2024

Would you be open to a pull request on this issue? Here's what I would suggest:

Github actions for:

  • A source release to keep things as close to as it is currently
  • A wheel release targeting a minimum python 3 version and a minimum numpy version
    • This would remove the issue of having numpy on the system before a build needed to occur

I've recently done all of the leg work and research for this for a recent release of my own (except the numpy targeting).

These changes would likely update the build mechanisms to use the new build frontend with pyproject.toml and keeping setuptools as the build backend.

from pybigwig.

michaelmhoffman avatar michaelmhoffman commented on August 17, 2024

@dpryan79 Would you be willing to consider a pull request to outline what @EricR86 suggests above? We want to use pyBigWig as a new transparent backend for Genomedata to use bigWig data without conversion, but this issue is keeping us from continuing to have a simple way of installing via PyPI. Thanks for the great package!

from pybigwig.

dpryan79 avatar dpryan79 commented on August 17, 2024

The wheels for this should now resolve this issue. If not, let me know.

from pybigwig.

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.