Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the script a module for PyPi #58

Merged
merged 19 commits into from
Aug 1, 2022
Merged

Make the script a module for PyPi #58

merged 19 commits into from
Aug 1, 2022

Conversation

itsnebulalol
Copy link
Member

@itsnebulalol itsnebulalol commented Jul 31, 2022

Description
Make the script a "module" for PyPi, while not having to change anything. main.py will still run the script normally, so running from source doesn't change at all.

Docs were updated as well for the new features. It outputs debs into ~/.permasigner/output.

Current issues

  • Will probably fail to get items from the data folder, should we put these in ~/.permasigner? Might be better to clone the repo into ~/.permasigner. Was a better idea to include it in the package.
  • Args won't be passed and it's failing to run because of it.
  • Use XDG_DATA_HOME by default.

@superrnovae
Copy link
Member

superrnovae commented Jul 31, 2022

My suggestion is to respect the XDG specs to not pollute the home directory for those who have set the XDG_DATA_HOME env variable.

@itsnebulalol
Copy link
Member Author

Is this set by default? Or should we check if it exists.

@superrnovae
Copy link
Member

Hmm, I think better idea would be to require the output flag.

@itsnebulalol itsnebulalol merged commit 5116b71 into main Aug 1, 2022
@itsnebulalol itsnebulalol deleted the pypi branch August 1, 2022 19:19
@itsnebulalol itsnebulalol added the enhancement New feature or request label Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants