-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (46 loc) · 1.59 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
"""Distribution package setup script."""
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst')) as readme_file:
readme = readme_file.read()
try:
with open('CHANGELOG.rst') as changelog_file:
changelog = changelog_file.read()
long_description = '\n\n'.join((readme, changelog))
except FileNotFoundError:
long_description = readme
setup(
name='tektronixsg',
description='Interface for Tektronix signal generators.',
long_description=long_description,
author='Kevin Koch',
author_email='[email protected]',
url='https://github.com/emtpb/tektronixsg/',
license='BSD',
# Automatically generate version number from git tags
use_scm_version=True,
# Automatically detect the packages and sub-packages
packages=find_packages(),
# Runtime dependencies
install_requires=[
"pyvisa",
'pyvisa-py; sys_platform=="linux"',
'pyusb; sys_platform=="linux"',
],
# Python version requirement
python_requires='>=3',
# Dependencies of this setup script
setup_requires=[
'setuptools_scm', # For automatic git-based versioning
],
# For a full list of valid classifiers, see:
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
],
)