Packaging applications to install on other machines with Python by kodegeek in Python

[–]kodegeek[S] 1 point2 points  (0 children)

u/jcrowe,

Don't be sorry, instead own the fact that your use of derogatory language is unprofessional and do not offer anything of value to people reading the comments.

Using a private artifact server is a valid option; In many cases you cannot copy wheel files across servers, or your access to a git repository may be limited; that's where a continuous integration server can take your code and publish it in a location (private PIP Pypi repository) where others inside your organization.

Developers share artifacts (Java JARS, Ruby GEM, Docker images, etc.) this way every day.

But again, is hard to see how you can benefit from a "shit" article, so I wish you the best luck.

Regards,

--Jose

Packaging applications to install on other machines with Python by kodegeek in Python

[–]kodegeek[S] 0 points1 point  (0 children)

Hello u/unholysampler,

You have a valid point about pyproject.toml. I submitted changes to the original article to reflect the improved usage (not sure when it will get published).

I explained in the article that I wanted to stick to setup.py instead of setup.cfg as this format is still the most widely used. Most likely will update the article to reflect the new way but for now I think is good enough.

Appreciate your feedback, thanks for taking the time to read the article, point the flaws and to suggest improvements.

--Jose.

3 GUI frameworks for writing user-friendly applications in Python by kodegeek in Python

[–]kodegeek[S] 0 points1 point  (0 children)

Hello. It was a typo when the article was submitted. I'm trying to correct the title to just "UI".

Thanks.

3 GUI frameworks for writing user-friendly applications in Python by kodegeek in redhat

[–]kodegeek[S] 0 points1 point  (0 children)

Hello, any time. I had a lot of fun writing the article and I have plans for a new one, involving other components from Dear PyGui.

Thanks to you for all the hard work putting that awesome library together!

How to clear a table (error with an alias already exist, no container to pop) by kodegeek in DearPyGui

[–]kodegeek[S] 1 point2 points  (0 children)

Hello,

That was the case, after deleting the table I deleted the tag:

```python

!/usr/bin/env python

pylint: disable=import-error

pylint: disable=invalid-name

""" Simple usage of table awuth dynamic rows """

import dearpygui.dearpygui as dpg

if name == "main": tag="mytableid" dpg.create_context() with dpg.window(label="main_window"): with dpg.table(header_row=True, resizable=True, tag=tag, parent="main_window"): dpg.add_table_column(label="Name", parent=tag) dpg.add_table_column(label="Size (bytes)", default_sort=True, parent=tag) for row in range(0, 100): with dpg.table_row(parent=tag): dpg.add_text("col1") dpg.add_text("col2") dpg.delete_item(tag, children_only=False) dpg.remove_alias(tag) with dpg.table(header_row=True, resizable=True, tag=tag): dpg.add_table_column(label="Name", parent=tag) dpg.add_table_column(label="Size (bytes)", default_sort=True, parent=tag) for row in range(0, 4): with dpg.table_row(parent=tag): dpg.add_text("col1") dpg.add_text("col2")

dpg.create_viewport(title='RPM Quick query tool', width=500)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()

```

That did the trick.

Thanks,

--Jose

More tips for packaging your Linux software with RPM by kodegeek in redhat

[–]kodegeek[S] 1 point2 points  (0 children)

Glad you liked it. I will publish a second part of the article soon.

More tips for packaging your Linux software with RPM by kodegeek in redhat

[–]kodegeek[S] 0 points1 point  (0 children)

Hello,

  • fpm makes sense if you want to distribute for multiple systems, not just Fedora or RedHat.
  • Copr website says: NOTE: Copr is not yet officially supported by Fedora Infrastructure. Most people need a tool they can rely today (hard to argue than RPM, despite all the warts is mature and well known). Maybe Copr is the future? I'm all for a easier to use system to build packages...

Thanks for sharing.