Skip to content

Commit

Permalink
Fix the package declaration
Browse files Browse the repository at this point in the history
Since isrcsubmit.py is currently contained in a single file, that means
package declaration is a bit different. Instead of specifying a
`packages` entry, we just mark the singular module file in `py_modules`
instead.

Note that the script still isn’t working, but that requires a bit more
refactoring, so that’ll be done in a separate commit.

Follow-up to 73c820d
  • Loading branch information
Freso committed Aug 10, 2023
1 parent 8975e75 commit 8f4c3b9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,12 @@ def run(self):
url="https://github.com/JonnyJD/musicbrainz-isrcsubmit",
requires=["discid(>=1.0.0)", "musicbrainzngs(>=0.4)"],
python_requires='>=3.7',
packages=["isrcsubmit"],
scripts=["isrcsubmit.py"],
py_modules=["isrcsubmit"],
entry_points={
'console_scripts': [
'isrcsubmit.py=isrcsubmit:main',
],
},
license="GPLv3+",
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit 8f4c3b9

Please sign in to comment.