forked from OpenEIT/OpenEIT
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
105 lines (90 loc) · 2.33 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
from setuptools import setup, find_packages
import io
#import re
#import sys
# with io.open('./OpenEIT/__init__.py', encoding='utf8') as version_file:
# version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file.read(), re.M)
# if version_match:
# version = version_match.group(1)
# else:
# raise RuntimeError("Unable to find version string.")
with io.open('README.md', encoding='utf8') as readme:
long_description = readme.read()
NAME = 'eit_dash'
VERSION = '0.1.0'
AUTHOR = 'Jean Rintoul'
LICENSE = 'LICENSE'
INSTALL_REQUIRES = [
'imageio==2.4.1',
'matplotlib==2.1.1',
'numpy==1.16.2',
'pyserial==3.4',
'scikit-image==0.14.2',
'scipy==1.2.1',
'six==1.11.0',
'Adafruit-BluefruitLE==0.9.10',
'dash==0.42.0',
'PyObjC==5.1; sys_platform=="darwin"'
]
setup(
name=NAME,
version=VERSION,
description='hello to the world',
long_description=long_description,
author=AUTHOR,
author_email='[email protected]',
license=LICENSE,
packages=find_packages(
exclude=[
'docs', 'tests',
'windows', 'macOS', 'linux',
'iOS', 'android',
'django'
]
),
classifiers=[
'Development Status :: 1 - Planning',
'License :: CC License',
],
install_requires=INSTALL_REQUIRES,
# entry_points={
# 'gui_scripts': [
# 'Example = example.gui:main [GUI]',
# ],
# 'console_scripts': [
# 'utility = example.main:main',
# ]
# },
options={
'app': {
'formal_name': 'OpenEIT',
'bundle': 'com.mindseyebiomedical'
},
# Desktop/laptop deployments
'macos': {
# 'app_requires': [
# 'toga-cocoa==0.3.0.dev11',
# ],
'icon': 'icons/macos',
#'splash': 'images/ios_splash',
},
'linux': {
#'app_requires': [
# 'toga-gtk==0.3.0.dev11',
#]
},
'windows': {
#'app_requires': [
# 'toga-winforms==0.3.0.dev11',
#]
},
}
)
# setup(
# name=NAME,
# version=VERSION,
# author=AUTHOR,
# license=LICENSE,
# packages=find_packages(),
# install_requires=INSTALL_REQUIRES,
# )