I want to add command to run python script inside Makefile. Below is the directory structure. Among them, analyze_log.py uses the classes in tools/fileOp.py. I used the method below at first, but when I execute python analyse_log.py in the directory where analyse_log.py is, it is correct. But when I use the above Makefile to execute, then it doesn’t work. Of
Tag: makefile
wondering what this makefile means
So I was browsing repl.it and saw that someone made it possible to run firefox in the repl window. There was a file called Makefile and it had this code in it. I’m wondering what it means and where they are getting Firefox from. Then there is a python file called launch.py I’m genuinely curious where firefox is coming from
How do I run a Python 3 script on a user’s system when they may also have Python 2.7 installed?
I’m trying to run python 3 scripts as part of a Makefile target that can be used on Linux or Windows (msys). What is the correct way it invoke Python 3 when the system may also have Python 2.7 installed? It seems that: python script.py doesn’t work, because on systems that have Python 2.7 installed, that points at the 2.7
Run Makefile on pip install
I have some protocol buffer definitions which need to be built to Python source as part of the pip install process. I’ve subclassed the setuptools.command.install command in setup.py but I think it’s trying to run the Makefile after the package is installed so the sources aren’t recognised. I can’t find information about what happens during a pip installation. Can anyone