move dependencies to extras
This commit is contained in:
parent
bd54ac1d10
commit
f960cd71bc
21
README.rst
21
README.rst
@ -65,21 +65,22 @@ http://pymodes.readthedocs.io
|
|||||||
Install
|
Install
|
||||||
-------
|
-------
|
||||||
|
|
||||||
To install the latest version development from the GitHub:
|
The pyModeS can be installed with extra option ``[all]`` in order to install dependencies ``pyzmq`` and ``pyrtlsdr`` automatically.
|
||||||
|
|
||||||
::
|
Installation examples::
|
||||||
|
|
||||||
pip install git+https://github.com/junzis/pyModeS
|
|
||||||
|
|
||||||
|
|
||||||
To install the latest stable version from pip:
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
|
# stable version, basic
|
||||||
pip install pyModeS
|
pip install pyModeS
|
||||||
|
|
||||||
|
# stable version, including dependencies for streamer and rtlsdr
|
||||||
|
pip install pyModeS[all]
|
||||||
|
|
||||||
|
# development version, basic
|
||||||
|
pip install git+https://github.com/junzis/pyModeS
|
||||||
|
|
||||||
|
# development version, including dependencies for streamer and rtlsdr
|
||||||
|
pip install git+https://github.com/junzis/pyModeS#egg=pyModeS[all]
|
||||||
|
|
||||||
The library requires several dependencies (``numpy``, ``pyzmq``, ``pyrtlsdr``), which will be installed automatically when you install pyModeS using ``pip``.
|
|
||||||
|
|
||||||
|
|
||||||
View live traffic (modeslive)
|
View live traffic (modeslive)
|
||||||
|
3
setup.py
3
setup.py
@ -74,7 +74,7 @@ setup(
|
|||||||
# your project is installed. For an analysis of "install_requires" vs pip's
|
# your project is installed. For an analysis of "install_requires" vs pip's
|
||||||
# requirements files see:
|
# requirements files see:
|
||||||
# https://packaging.python.org/en/latest/requirements.html
|
# https://packaging.python.org/en/latest/requirements.html
|
||||||
install_requires=["numpy", "argparse", "pyzmq", "pyrtlsdr"],
|
install_requires=["numpy"],
|
||||||
# List additional groups of dependencies here (e.g. development
|
# List additional groups of dependencies here (e.g. development
|
||||||
# dependencies). You can install these using the following syntax,
|
# dependencies). You can install these using the following syntax,
|
||||||
# for example:
|
# for example:
|
||||||
@ -83,6 +83,7 @@ setup(
|
|||||||
# 'dev': ['check-manifest'],
|
# 'dev': ['check-manifest'],
|
||||||
# 'test': ['coverage'],
|
# 'test': ['coverage'],
|
||||||
# },
|
# },
|
||||||
|
extras_require={"all": ["argparse", "pyzmq", "pyrtlsdr"]},
|
||||||
# If there are data files included in your packages that need to be
|
# If there are data files included in your packages that need to be
|
||||||
# installed, specify them here. If using Python 2.6 or less, then these
|
# installed, specify them here. If using Python 2.6 or less, then these
|
||||||
# have to be included in MANIFEST.in as well.
|
# have to be included in MANIFEST.in as well.
|
||||||
|
Loading…
Reference in New Issue
Block a user