Python Forum
Python project "pong" without any makefile - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python project "pong" without any makefile (/thread-5812.html)



Python project "pong" without any makefile - sylas - Oct-23-2017

To Meukburr. I put your pong project on Pycharm. It works well, but I am surprised not to find any "makefile", as ordinary with C++. Even no "idea" appears on Pycharm. I should like you give me some explanations. Many thanks.


RE: Python project "pong" without any makefile - nilamo - Nov-27-2017

What would a makefile do in python?  There's nothing to make, nothing to compile.  The closest would be a setup.py, but that's only if you wanted to install it.  Or a piplock file, so virtual env could download any needed dependencies.


RE: Python project "pong" without any makefile - metulburr - Nov-27-2017

Quote:I am surprised not to find any "makefile", as ordinary with C++
Thats because its written in python, not C++

But i did leave th setup script i used to build the exe with
https://github.com/metulburr/pong/blob/master/setup.py
but that is not going to install it, only build an exe with py2exe


RE: Python project "pong" without any makefile - Larz60+ - Nov-28-2017

Quote:Even no "idea" appears on Pycharm.
Each package that is maintained by PyCharm contains a .idea directory at the beginning of the package.
It's not a 'make' file, as nilamo and metulburr already stated, one would serve no purpose.
It contains information on encoding, project version, configuration, IDE editor style, etc.
in addition, if you use a VCS, there will be a file for that (I use Git, so there's a .git directory).


RE: Python project "pong" without any makefile - metulburr - Nov-28-2017

(Nov-28-2017, 06:50 AM)Larz60+ Wrote:
Quote:Even no "idea" appears on Pycharm.
Each package that is maintained by PyCharm contains a .idea directory at the beginning of the package.
It's not a 'make' file, as nilamo and metulburr already stated, one would serve no purpose.
It contains information on encoding, project version, configuration, IDE editor style, etc.
in addition, if you use a VCS, there will be a file for that (I use Git, so there's a .git directory).

So the idea is PyCharm's package config file?

In that case there wouldnt be any because i didnt write it in PyCharm. And even if i did, i probably wouldnt upload it into the repo as its only pertaining to that one IDE.


RE: Python project "pong" without any makefile - Larz60+ - Nov-28-2017

It is a setup file of sorts