-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add the needed bits to fix the install from pip * Remove pylistenbrainz refs * Use importlib.metadata to get package __version__ Co-authored-by: Alastair Porter <[email protected]>
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
import setuptools | ||
import pylistenbrainz | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="pylistenbrainz", | ||
version=pylistenbrainz.__version__, | ||
author="Param Singh", | ||
author_email="[email protected]", | ||
description="A simple ListenBrainz client library for Python", | ||
|
@@ -22,5 +20,8 @@ | |
python_requires='>=3.5', | ||
install_requires=[ | ||
'requests >= 2.23.0', | ||
'importlib-metadata>=3.10.0;python_version<"3.10"', | ||
], | ||
use_scm_version=True, | ||
setup_requires=['setuptools_scm'], | ||
) |