-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (33 loc) · 1.04 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import re
from setuptools import setup, find_packages
version = ''
with open('spotify_uri/__init__.py') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('version is not set')
readme = ''
with open('README.md') as f:
readme = f.read()
setup(
name='spotify_uri',
version=version,
description='This project port "@TooTallNate/spotify-uri" to Python.',
long_description=readme,
long_description_content_type="text/markdown",
license='MIT',
include_package_data=True,
author='zeroday0619',
author_email='[email protected]',
url='https://github.com/zeroday0619/pyspotify-uri',
packages=find_packages(exclude=['.vscode', '.idea', '.github']),
keywords=[
"spotify", "spotify-uri"
],
python_requires='>=3',
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
)