Giter Club home page Giter Club logo

Comments (5)

david-a-wheeler avatar david-a-wheeler commented on July 21, 2024

Since there's already a makefile, the Autotools (specifically automake) would be the simplest to transition to. I even created a video tutorial on the autotools, so I'm quite familiar with it.

HOWEVER: What is the goal? I want to use simple tools if there's no big advantage to more sophisticated tools. The makefile is pretty simple. Is there a specific example of what you think should be done?

@squinky86 - your thoughts would be welcome.

from flawfinder.

elfring avatar elfring commented on July 21, 2024

from flawfinder.

squinky86 avatar squinky86 commented on July 21, 2024

Flawfinder is the first python project I've worked with that has a makefile. Most python projects, in my experience, just worry about setup.py and let users/developers handle any special cases beyond that. I could see a build system being useful to check for tools like ps2pdf, but I see it as more of a reference with helpful shortcuts more than a "this is the only way to build the project" makefile.

Setuptools' setup.py is sufficient as the cross-platform build system, but I wouldn't be opposed to also supporting one of the other build systems. I'm more familiar with Autotools as well (https://www.gnu.org/software/automake/manual/html_node/Python.html).

from flawfinder.

david-a-wheeler avatar david-a-wheeler commented on July 21, 2024

I think in this case the negatives of a bigger build system generator outweigh the positives.

Flawfinder is designed to be extremely easy-to-install in many situations. In particular, I want to support copy-single-file installations, where users can simply copy "flawfinder" where they want & have it "just work". So I specifically forbid external dependencies other than the built-in libraries. That means users can ignore the setup.py if they wish. That also means that having a separate configuration tool is not going to work in this case.

This reasoning is specifically for this one tool. I use other systems on other projects, and I even created an autotools tutorial on Youtube, so I'm certainly familiar with other tools and find them useful. But in this case I'm trying to make things absurdly easy for users to install in a variety of circumstances, including when they cannot use pip.

So I appreciate the comments, but this would hamper end-user experience, which I think is more important. Thanks!

from flawfinder.

elfring avatar elfring commented on July 21, 2024

I imagine that your software distribution goals can be achieved also by a collaboration with additional build tools.

from flawfinder.

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.