-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsetup.py
56 lines (46 loc) · 1.47 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
"""LabRAD interface for python
LabRAD is a system for quickly and easily building distributed
instrument control and data analysis applications. pylabrad
provides a python interface to LabRAD.
"""
classifications = """\
Development Status :: 4 - Beta
Environment :: Console
Environment :: Web Environment
Intended Audience :: Science/Research
License :: OSI Approved :: GNU General Public License (GPL)
Operating System :: OS Independent
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering"""
import os
from setuptools import setup, find_packages
doclines = __doc__.split('\n')
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
requirements = f.readlines()
setup(
name='pylabrad',
author='Matthew Neeley',
author_email='[email protected]',
license='http://www.gnu.org/licenses/gpl-2.0.html',
platforms=['ANY'],
url='https://github.com/labrad/pylabrad/',
download_url='',
description=doclines[0],
long_description='\n'.join(doclines[2:]),
classifiers=classifications.split('\n'),
setup_requires=['setuptools_scm'],
use_scm_version={
'write_to': 'labrad/version.py'
},
install_requires=requirements,
provides=['labrad'],
packages=find_packages(),
package_data={
'labrad': ['LICENSE.txt'],
'labrad.node': ['*.ini'],
},
scripts=[],
)