Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frank_kunz
python-pyvisa-py
0001-Revert-Moved-the-metadata-into-setup.cfg.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Revert-Moved-the-metadata-into-setup.cfg.patch of Package python-pyvisa-py
From 4a99382318086283fe9ed1ea13b2f3286678d4a5 Mon Sep 17 00:00:00 2001 From: Frank Kunz <mailinglists@kunz-im-inter.net> Date: Fri, 24 Jun 2022 20:46:09 +0200 Subject: [PATCH] Revert "Moved the metadata into setup.cfg" This reverts commit 53cfd04b8e2f0813498e4b862738cb2e6a11ad10. --- setup.py | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 62 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 9014e8d..05fae8f 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,65 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from setuptools import setup +import sys -if __name__ == "__main__": - setup(use_scm_version=True) +try: + from setuptools import setup +except ImportError: + print('Please install or upgrade setuptools or pip to continue') + sys.exit(1) + + +def read(filename): + with open(filename, 'rb') as f: + return f.read().decode('utf8') + + +long_description = '\n\n'.join([read('README.rst'), + read('AUTHORS'), + read('CHANGES')]) + +__doc__ = long_description + +requirements = ['pyvisa>1.10.1'] +extras_requirements = {'gpib-ctypes': 'gpib-ctypes>=0.3.0', + "serial": "pyserial>=3.0", + "usb": "pyusb"} + + +setup(name='PyVISA-py', + description='Python VISA bindings for GPIB, RS232, and USB instruments', + version='0.5.3', + long_description=long_description, + author='Hernan E. Grecco', + author_email='hernan.grecco@gmail.com', + maintainer='Hernan E. Grecco', + maintainer_email='hernan.grecco@gmail.com', + url='https://github.com/pyvisa/pyvisa-py', + test_suite='pyvisa-py.testsuite.testsuite', + keywords='Remote VISA GPIB USB serial RS232 measurement acquisition', + license='MIT License', + install_requires=requirements, + extras_require=extras_requirements, + classifiers=[ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: MIT License', + 'Operating System :: Microsoft :: Windows', + 'Operating System :: POSIX :: Linux', + 'Operating System :: MacOS :: MacOS X', + 'Programming Language :: Python', + 'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + ], + packages=['pyvisa_py', + 'pyvisa_py.protocols', + 'pyvisa_py.testsuite'], + platforms="Linux, Windows, Mac", + use_2to3=False, + zip_safe=False) -- 2.36.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor