Replies: 3 comments 1 reply
-
|
Hey, so starting out let me say that I am not an expert in python or distutils. I am 100% on-board with making it easier for you to maintain the AUR version however I'm not sure we can just switch the build system out right (which would be a huge undertaking regardless). Some of the issues are:
So what can we do? We could try to solve whatever issues you are having now with the current build system or prebuild wheels. And if we can't, we can try to add a separate build procedure to help you out. |
Beta Was this translation helpful? Give feedback.
-
|
Hi! Sorry for the radio silence. I'm working on maintaining the repos in my free time and I've lost the little I had this week. I'll try to reach you this weekend to work side by side with you to build the setup system. Thank you for taking the project into consideration and thank you very much for you time and effort ❤️ |
Beta Was this translation helpful? Give feedback.
-
|
What is your take on cibuildwheel. Also, this video talks about experience using it. Nice thing is, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thank you very much for your work! ❤️ This issue is motivated by my desire to maintain your program in the AUR and make it available to many more people.
Is your feature request related to a problem? Please describe.
Right now, the program can only be built using the scripts provided in
Scripts/and required de submodules stored inDependencies/. As I commented in #1013, DearPyGui cannot be built from the releases because the source code distributed there is not a git repo and doesn't contain the data required to initialise the submodules.So, right now there are two options to build this program:
pipto install thewhlfiles for the latest version.However, there are two major problems with both systems.
Cloning the repo and the submodules is slow and the installation scripts are package-manager-agnostic, which means that extreme measures are taken to ensure the user has all dependencies installed like building the Python package. These scripts also require to be used with
rootpermissions, which is something they should only need for install instructions, not build ones.On the other hand, the
whlfiles' URLs are hashed, which means that the maintainer should manually check the download link every time they want to update the program, which defeats the purpose of many update automation tools and makes maintaining the package harder.Describe the solution you'd like
Ideally, DearPyGui should switch their build system to distutils so that the repository root includes a
setup.pyfile with all the required dependencies and installation instructions.Additional context
As I said at the beginning of this issue, I'm trying to maintain your project in the AUR. Right now, I'm co-maintaining manim, which has a
pyproject.tomlfile that they process to asetup.pyfile for their releases. One of its dependencies, ManimPango, has asetup.pyfile in their repo. This package requirescythonto be built, but users can get it from their package manager without having to recompile everything every time they update. In the case of missing dependencies, there's no need to worry, since distutils will check for the packages inpipor users can add it to the repos.What do you think about this change?
Thanks for reading :)
Beta Was this translation helpful? Give feedback.
All reactions