kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
use less info in setup.py
rodzic
7698d67fd2
commit
20b5334f3a
23
setup.cfg
23
setup.cfg
|
@ -3,10 +3,25 @@ name = NanoVNASaver
|
|||
author = Rune B. Broberg
|
||||
license = GNU GPL V3
|
||||
license_file = LICENSE
|
||||
description = A multiplatform tool to save Touchstone files from the
|
||||
NanoVNA, sweep frequency spans in segments to gain more
|
||||
data points, and generally display and analyze the
|
||||
resulting data.
|
||||
description =
|
||||
A multiplatform tool to save Touchstone files from the
|
||||
NanoVNA, sweep frequency spans in segments to gain more
|
||||
data points, and generally display and analyze the
|
||||
resulting data.
|
||||
long_description = file: README.md
|
||||
url = https://github.com/NanoVNA-Saver/nanovna-saver
|
||||
version = attr: NanoVNASaver.About.VERSION
|
||||
|
||||
[options]
|
||||
packages = NanoVNASaver
|
||||
install_requires=
|
||||
pyserial
|
||||
PyQt5
|
||||
numpy
|
||||
scipy
|
||||
cython
|
||||
python_requires = >=3.8, <4
|
||||
|
||||
[options.entry_points]
|
||||
console_scripts =
|
||||
NanoVNASaver = NanoVNASaver.__main__:main
|
||||
|
|
31
setup.py
31
setup.py
|
@ -16,33 +16,6 @@
|
|||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
import sys
|
||||
from setuptools import setup
|
||||
|
||||
if sys.version_info < (3, 7):
|
||||
print("You need at least Python 3.7 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(
|
||||
packages=find_packages(exclude=["test", ]),
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'NanoVNASaver = NanoVNASaver.__main__:main'
|
||||
],
|
||||
},
|
||||
install_requires=[
|
||||
'pyserial',
|
||||
'PyQt5',
|
||||
'numpy',
|
||||
'scipy',
|
||||
'cython',
|
||||
],
|
||||
)
|
||||
setup()
|
||||
|
|
Ładowanie…
Reference in New Issue