-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
57 lines (54 loc) · 2.05 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
### Reference: https://github.com/Terrabits/rohdeschwarz/blob/master/setup.py
### Reference: https://python-packaging.readthedocs.io/en/latest/minimal.html
###
### python setup.py register #Reserve name in pypi
### python setup.py --help-commands # Help
### python setup.py bdist # Creates <pkg>.zip
### python setup.py install # Installs package
### python setup.py install_scripts
### pip install . # Installs package in directory
### pip install -e . # Install editable package
##########################################################
### Upload to PyPi
### python setup.py sdist # Creates <pkg>.tar.gz
### twine upload .\dist\rssd-0.1.8.tar.gz
# import os
from setuptools import setup, find_packages
with open('README.md') as f:
long_description = f.read()
setup(
name='rssd',
version='2023.01.13',
description='Rohde & Schwarz SCPI Driver',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta', # 3:Alpha 4:Beta 5:Production/Stable
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
'Topic :: System :: Hardware :: Hardware Drivers',
],
keywords='Rohde Schwarz test equipment FSW FSV NRP NRQ OSP SGT SMA SMB SMBV SMW SCPI VSA VSG VST',
url='https://github.com/mclim9/rssd',
author='Martin Lim',
author_email='[email protected]',
license='',
packages=find_packages(exclude=['test','proto']),
#packages=['rssd'],
install_requires=[
'pyvisa>=1.9.0',
'future_fstrings>=1.0.0',
],
test_suite = 'test',
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'rssd=rssd.bin.cli:main'
],
},
)