Switch from distutils to setuptools
This commit is contained in:
parent
d585669661
commit
f5d97fab80
@ -1,2 +1,5 @@
|
|||||||
include LICENSE
|
include LICENSE
|
||||||
include README.rst
|
include README.rst
|
||||||
|
include qspectrumanalyzer.desktop
|
||||||
|
include qspectrumanalyzer.png
|
||||||
|
include qspectrumanalyzer.svg
|
||||||
|
1
PKGBUILD
1
PKGBUILD
@ -7,6 +7,7 @@ arch=('any')
|
|||||||
url="https://github.com/xmikos/qspectrumanalyzer"
|
url="https://github.com/xmikos/qspectrumanalyzer"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('python-pyqt4' 'python-pyqtgraph' 'rtl-sdr')
|
depends=('python-pyqt4' 'python-pyqtgraph' 'rtl-sdr')
|
||||||
|
makedepends=('python-setuptools')
|
||||||
source=(https://github.com/xmikos/qspectrumanalyzer/archive/v$pkgver.tar.gz)
|
source=(https://github.com/xmikos/qspectrumanalyzer/archive/v$pkgver.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
from qspectrumanalyzer import __main__
|
|
||||||
__main__.main()
|
|
73
setup.py
73
setup.py
@ -1,32 +1,49 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from distutils.core import setup
|
from setuptools import setup
|
||||||
from qspectrumanalyzer.version import __version__
|
from qspectrumanalyzer.version import __version__
|
||||||
|
|
||||||
setup(name="QSpectrumAnalyzer",
|
setup(
|
||||||
version=__version__,
|
name="QSpectrumAnalyzer",
|
||||||
description="Spectrum analyzer for RTL-SDR (GUI for rtl_power based on PyQtGraph)",
|
version=__version__,
|
||||||
author="Michal Krenek (Mikos)",
|
description="Spectrum analyzer for RTL-SDR (GUI for rtl_power based on PyQtGraph)",
|
||||||
author_email="m.krenek@gmail.com",
|
author="Michal Krenek (Mikos)",
|
||||||
url="https://github.com/xmikos/qspectrumanalyzer",
|
author_email="m.krenek@gmail.com",
|
||||||
license="GNU GPLv3",
|
url="https://github.com/xmikos/qspectrumanalyzer",
|
||||||
packages=["qspectrumanalyzer"],
|
license="GNU GPLv3",
|
||||||
data_files=[("share/applications", ["qspectrumanalyzer.desktop"]),
|
packages=["qspectrumanalyzer"],
|
||||||
("share/pixmaps", ["qspectrumanalyzer.png"])],
|
package_data={
|
||||||
scripts=["scripts/qspectrumanalyzer"],
|
"qspectrumanalyzer": [
|
||||||
requires=["PyQt4", "pyqtgraph"],
|
"*.ui",
|
||||||
classifiers=[
|
"languages/*.qm",
|
||||||
'Development Status :: 4 - Beta',
|
"languages/*.ts"
|
||||||
'Environment :: MacOS X',
|
]
|
||||||
'Environment :: Win32 (MS Windows)',
|
},
|
||||||
'Environment :: X11 Applications :: Qt',
|
data_files=[
|
||||||
'Intended Audience :: End Users/Desktop',
|
("share/applications", ["qspectrumanalyzer.desktop"]),
|
||||||
'Intended Audience :: Science/Research',
|
("share/pixmaps", ["qspectrumanalyzer.png"])
|
||||||
'Intended Audience :: Telecommunications Industry',
|
],
|
||||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
entry_points={
|
||||||
'Natural Language :: English',
|
"gui_scripts": [
|
||||||
'Operating System :: OS Independent',
|
"qspectrumanalyzer=qspectrumanalyzer.__main__:main"
|
||||||
'Programming Language :: Python :: 3',
|
],
|
||||||
'Topic :: Communications :: Ham Radio',
|
},
|
||||||
'Topic :: Scientific/Engineering :: Visualization'
|
install_requires=[
|
||||||
])
|
"pyqtgraph"
|
||||||
|
],
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 4 - Beta",
|
||||||
|
"Environment :: MacOS X",
|
||||||
|
"Environment :: Win32 (MS Windows)",
|
||||||
|
"Environment :: X11 Applications :: Qt",
|
||||||
|
"Intended Audience :: End Users/Desktop",
|
||||||
|
"Intended Audience :: Science/Research",
|
||||||
|
"Intended Audience :: Telecommunications Industry",
|
||||||
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||||
|
"Natural Language :: English",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Topic :: Communications :: Ham Radio",
|
||||||
|
"Topic :: Scientific/Engineering :: Visualization"
|
||||||
|
]
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user