Created
May 28, 2022 09:32
-
-
Save fmarzocca/6f60ad4684a286df5679dcb652b20ecf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from __future__ import unicode_literals | |
import re | |
from setuptools import find_packages | |
from setuptools import setup | |
def get_version(filename): | |
content = open(filename).read() | |
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) | |
return metadata['version'] | |
setup( | |
name=f"{PROJECT_NAME}", | |
version=get_version('mopiqtt/__init__.py'), | |
license='Apache License, Version 2.0', | |
description="f{PROJECT_DESCRIPTION}", | |
long_description=open('README.md').read(), | |
long_description_content_type='text/markdown', | |
author=f"{author}", | |
url='https://github.com/fmarzocca/mopiqtt', | |
packages=find_packages(exclude=['tests', 'tests.*']), | |
include_package_data=True, | |
zip_safe=False, | |
classifiers=[ | |
'Development Status :: 5 - Production/Stable', | |
'Intended Audience :: End Users/Desktop', | |
'License :: OSI Approved :: Apache Software License', | |
'Operating System :: OS Independent', | |
'Programming Language :: Python', | |
'Programming Language :: Python :: 3', | |
'Programming Language :: Python :: 3.7', | |
'Topic :: Multimedia :: Sound/Audio :: Players', | |
'Environment :: No Input/Output (Daemon)', | |
], | |
install_requires=[ | |
'Mopidy >= 3.0', | |
'paho-mqtt', | |
'Pykka >= 2.0', | |
'setuptools', | |
], | |
entry_points={ | |
'mopidy.ext': [ | |
'mqtt = mopiqtt:Extension', | |
], | |
}, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment