forked from Psynosaur/pyLMS7002Soapy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
29 lines (25 loc) · 828 Bytes
/
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
import sys
if sys.version_info < (3, 5):
print("You need at least Python 3.5 for this application!")
if sys.version_info[0] < 3:
print("try running with python3 {}".format(" ".join(sys.argv)))
sys.exit(1)
try:
from setuptools import setup, find_packages
except ImportError:
print("Could not find setuptools")
print("Try installing them with pip install setuptools")
sys.exit(1)
setup(
name='pyLMS7002Soapy',
version='1.5.0',
description='Python support for LMS7002M (SoapySDR backend)',
url='https://github.com/psynosaur/pyLMS7002Soapy',
author='Lime Microsystems - Psynosaur',
packages=find_packages(),
install_requires=['numpy',
'matplotlib',
'pyserial'
],
test_suite='tests.test_lms',
)