-
Notifications
You must be signed in to change notification settings - Fork 54
/
setup.py
31 lines (28 loc) · 1.01 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
from setuptools import setup, find_packages
import sys
import os
import json
GMUSICPROXYFILE = 'GMusicProxy'
with open("version.json") as f:
match = json.load(f)
if match:
version = match["version"]
else:
raise RuntimeError("Could not find version in '%s'" % GMUSICPROXYFILE)
setup(
name='gmusicproxy',
version=version,
author='Mario Di Raimondo et al',
author_email='gmusicproxy@gmail.com',
url='https://github.com/gmusicproxy/gmusicproxy',
scripts=[GMUSICPROXYFILE, "version.json", "gmusicproxyutils.py"],
license=open('LICENSE').read(),
description='Google Play Music Proxy - "Let\'s stream Google Play Music using any music program"',
long_description=(open('README.md').read()),
install_requires=['gmusicapi==13.0.0', 'netifaces>=0.10.4',
'pyxdg>=0.25', 'eyed3>=0.9.5', 'python-daemon>=2.2.4' if not os.name == 'nt' else '', 'Markdown>=3.2.1'],
extras_require={'keyring': 'keyring>=10.0'}
)