-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (40 loc) · 1.27 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
# -*- coding: utf-8 -*-
# @Author: Theo Lemaire
# @Email: theo.lemaire@epfl.ch
# @Date: 2017-06-13 09:40:02
# @Last Modified by: Theo Lemaire
# @Last Modified time: 2024-06-13 13:06:13
import os
from setuptools import setup
readme_file = 'README.md'
req_file = 'requirements.txt'
def readme():
with open(readme_file, encoding='utf8') as f:
return f.read()
def getRequirements():
with open(req_file, encoding='utf8') as f:
return f.readlines()
def getFiles(path):
return [f'{path}/{x}' for x in os.listdir(path)]
setup(
name='instrulink',
version='1.0.5',
description='Python package to interface diverse laboratory instruments',
long_description_content_type='text/markdown',
long_description=readme(),
url='https://github.com/tjjlemaire/instrulink',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Physics'
],
keywords=('laboratory instrument interface python'),
author='Theo Lemaire',
author_email='theo.lemaire1@gmail.com',
license='MIT',
packages=['instrulink'],
scripts=getFiles('scripts'),
install_requires=getRequirements(),
zip_safe=False
)