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

Python packaging #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion image2chunks

This file was deleted.

1 change: 0 additions & 1 deletion mkdz

This file was deleted.

1 change: 0 additions & 1 deletion mkkdz

This file was deleted.

17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[project]
name = "kdztools"
version = "1.2"
authors = [
{ name="IOMonster", email="[email protected]"},
{ name="Elliott Mitchell" , email="[email protected]"},
{ name="steadfasterX" , email="[email protected]"},]
description="Tools for working with KDZ files"
readme="README.txt"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong indent level? ;)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I copied the latter so that's probably the reason.

"Operating System :: POSIX :: Linux",
]

[project.urls]
"Homepage" = "https://github.com/steadfasterX/kdztools"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion undz.py → src/undz.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

problem here is that we have different distro's out there and the time where this code was written python2 was default - now it is python3 on all modern ones but we cannot be sure. the code has been adapted to python3 a while ago so we can force python3 here imo

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood

#!/usr/bin/env python

"""
Copyright (C) 2016 Elliott Mitchell <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion unkdz.py → src/unkdz.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

problem here is that we have different distro's out there and the time where this code was written python2 was default - now it is python3 on all modern ones but we cannot be sure. the code has been adapted to python3 a while ago so we can force python3 here imo

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it.

#!/usr/bin/env python

"""
Copyright (C) 2016 Elliott Mitchell <[email protected]>
Expand Down
1 change: 0 additions & 1 deletion undz

This file was deleted.

1 change: 0 additions & 1 deletion unkdz

This file was deleted.