GrandOrgue / OdfEdit

A tool for GrandOrgue ODF edition, and Hauptwerk to GrandOrgue ODF conversion.
GNU General Public License v3.0
9 stars 1 forks source link

Creating setup.py for project #1

Closed rousseldenis closed 5 months ago

rousseldenis commented 2 years ago

As this is a python library, it should be great to :

@eturpault

rousseldenis commented 2 years ago
eturpault commented 2 years ago

I don't think that OdfEdit can be considered as a python library, it has no API which can be called by another python script, it is rather an autonomous application with its own graphical user interface. The Windows and Linux executables that I provided in the repository bin folder have been generated by using pyinstaller.

rousseldenis commented 1 year ago

I don't think that OdfEdit can be considered as a python library, it has no API which can be called by another python script, it is rather an autonomous application with its own graphical user interface. The Windows and Linux executables that I provided in the repository bin folder have been generated by using pyinstaller.

I wanted to say, there is a generic way of packaging python addons. When that is well done, you can publish it on pypi repository, then (I'm on linux only, so I cannot say for windows), people just launch pipx install OdfEditand that's all! If we mention correctly the libraries dependencies (like lxml, pillow, ....), they will be installed automatically too.

eturpault commented 1 year ago

As said in another post, if you agree and you find it useful please put in place a python addons for OdfEdit, I have not the time and currently knowledge to do it. Thank you.

eturpault commented 8 months ago

@rousseldenis I would like to use Github Actions to publish automatically new releases of OdfEdit on PyPI. For that I need to create a secret variable to store the token of PyPI, but it seems that I have not the rights to do it in the Settings page. https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository Have you the possibility to grant me more rights on the repository OdfEdit ? Thank you.

eturpault commented 8 months ago

@rousseldenis Kind reminder.

rousseldenis commented 8 months ago

@rousseldenis Kind reminder.

Yes. I know you want to publish it on pypi. I'll try to update this quickly

eturpault commented 7 months ago

@rousseldenis : to be able to create a secret variable, I think that I need to be admin in the OdfEdit repository. Here is the procedure to manage access of an existing collaborator. Could you please grant me the Admin role in OdfEdit repository ? Maybe @oleg68 or @larspalo have the rights to do it if you have not the time. Thanks.

oleg68 commented 7 months ago

@eturpault

Could you please grant me the Admin role in OdfEdit repository ? Maybe @oleg68 or @larspalo have the rights to do it if you have not the time. Thanks.

I'm not familiar with github access setting, but I've tried to send you an invitation with admin access.

image

Please check your access rights.

eturpault commented 7 months ago

@oleg68 : thank you, but you have given me Admin rights in the GoOdf repository, whereas I need it in the OdfEdit repository. I checked in GoOdf, with the Admin level I have access to the security page permitting to define secret variables, so this is what I need. So could you please grant me the Admin rights in the OdfEdit repository (and you can reduce my rights level in the GoOdf repository where I don't need to be Admin) ?

oleg68 commented 7 months ago

@eturpault I've tried it at the second time. Please take a check.

eturpault commented 7 months ago

Yes now I am Admin in the OdfEdit repository and I have access to the Security setting pages, thank you !

eturpault commented 5 months ago

About the initial comment of this issue :

@rousseldenis do you agree this issue can be closed ?

rousseldenis commented 5 months ago

@rousseldenis do you agree this issue can be closed ?

@eturpault Yes, of course. But we need to replace this by a pyproject.toml file at root directory.

eturpault commented 5 months ago

I have uploaded the file pyproject.toml at the root directory.