GithubHelp home page GithubHelp logo

Comments (3)

ogrisel avatar ogrisel commented on May 13, 2024 3

I would be great if the configure script could introspect the python command found in the PATH to find out which version of Python to build against. This would make it possible to build a pyflame that matches the python versions in the currently enabled virtualenv.

On a related note, it should be possible to build manylinux1 binary packages for pyflames for common versions of Python and upload those packages to PyPI to make it trivial to install pyflame with pip (in a virtualenv or not):

https://github.com/pypa/manylinux

from pyflame.

eklitzke avatar eklitzke commented on May 13, 2024 1

That is a pretty good idea, and definitely easier than what I was thinking. When I get a chance to work on this I'll start as a first step.

from pyflame.

eklitzke avatar eklitzke commented on May 13, 2024

I have a POC of this in the deephack branch, which implements this by abusing C pre-processor macros. It can build an executable capable of profiling both py2 and py3 processes.

Things to do before I submit a real PR:

  • redo all of the code that figures out what version of python the target executable is (major task)
  • remove a few hard-coded things

from pyflame.

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.