airtime_analyzer: depend on rgain3 for py3
This commit is contained in:
parent
632ba9acfe
commit
9298ea7e05
1 changed files with 23 additions and 17 deletions
|
@ -19,6 +19,28 @@ else:
|
||||||
('/etc/init.d', ['install/sysvinit/airtime_analyzer'])]
|
('/etc/init.d', ['install/sysvinit/airtime_analyzer'])]
|
||||||
print(data_files)
|
print(data_files)
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
'mutagen~=1.43.0',
|
||||||
|
'pika~=1.1.0',
|
||||||
|
'daemon',
|
||||||
|
'file-magic',
|
||||||
|
'nose',
|
||||||
|
'coverage',
|
||||||
|
'mock',
|
||||||
|
'python-daemon==1.6',
|
||||||
|
'requests>=2.7.0',
|
||||||
|
# These next 3 are required for requests to support SSL with SNI. Learned this the hard way...
|
||||||
|
# What sucks is that GCC is required to pip install these.
|
||||||
|
#'ndg-httpsclient',
|
||||||
|
#'pyasn1',
|
||||||
|
#'pyopenssl'
|
||||||
|
]
|
||||||
|
|
||||||
|
if sys.version_info >= (3, 0):
|
||||||
|
dependencies += ['rgain3']
|
||||||
|
else:
|
||||||
|
dependencies += ['rgain']
|
||||||
|
|
||||||
setup(name='airtime_analyzer',
|
setup(name='airtime_analyzer',
|
||||||
version='0.1',
|
version='0.1',
|
||||||
description='Airtime Analyzer Worker and File Importer',
|
description='Airtime Analyzer Worker and File Importer',
|
||||||
|
@ -28,23 +50,7 @@ setup(name='airtime_analyzer',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
packages=['airtime_analyzer'],
|
packages=['airtime_analyzer'],
|
||||||
scripts=['bin/airtime_analyzer'],
|
scripts=['bin/airtime_analyzer'],
|
||||||
install_requires=[
|
install_requires=dependencies,
|
||||||
'mutagen~=1.43.0', # got rid of specific version requirement
|
|
||||||
'pika',
|
|
||||||
'daemon',
|
|
||||||
'file-magic',
|
|
||||||
'nose',
|
|
||||||
'coverage',
|
|
||||||
'mock',
|
|
||||||
'python-daemon==1.6',
|
|
||||||
'requests>=2.7.0',
|
|
||||||
'rgain',
|
|
||||||
# These next 3 are required for requests to support SSL with SNI. Learned this the hard way...
|
|
||||||
# What sucks is that GCC is required to pip install these.
|
|
||||||
#'ndg-httpsclient',
|
|
||||||
#'pyasn1',
|
|
||||||
#'pyopenssl'
|
|
||||||
],
|
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
data_files=data_files)
|
data_files=data_files)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue