Skip to content Skip to sidebar Skip to footer

How To Setup Application To Personalize It?

I'm working on simple opensource project. Github link. Application is written with tkinter. It is kind of calculator. I want to allow user to configure it during installation (but

Solution 1:

I believe pip is not designed to allow configuration at install-time. It is somewhat possible (under specific conditions) to do such a thing via custom setuptools commands like shown in the question for example, but there are many scenarios in which this will not work (in short: built distributions such as wheel do not contain the setup.py file, so it can't run at install-time) and many reasons why we don't want something like this to work.

A common recommendation (best practice?) is to run such customization during the first run of the application instead.

Post a Comment for "How To Setup Application To Personalize It?"