forked from niermann/temscript
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
104 lines (99 loc) · 4.1 KB
/
Copy pathsetup.py
File metadata and controls
104 lines (99 loc) · 4.1 KB
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
#!/usr/bin/env python3
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
import sys
here = path.abspath(path.dirname(__file__))
# Long description
with open(path.join(here, "README.rst"), "r", encoding="utf-8") as fp:
long_description = fp.read()
__version__ = '3.0.1'
# Python 3.4 doesn't support certain keywords in setup
if sys.version_info < (3, 5):
setup(name='pytemscript',
version=__version__,
description='TEM Scripting adapter for FEI/TFS microscopes',
author='Tore Niermann, Grigory Sharov',
author_email='tore.niermann@tu-berlin.de, gsharov@mrclmb.ac.uk',
long_description=long_description,
packages=find_packages(),
platforms=['any'],
license="GNU General Public License v3 (GPLv3)",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'
],
keywords='TEM python',
install_requires=[
"comtypes==1.2.1",
"mrcfile==1.3.0",
"numpy==1.15.4",
"pip<=19.1.1",
"pillow==5.3.0",
"setuptools<=12.0.5",
"typing"
],
extras_require={
"dev": ["matplotlib", "mypy<=0.620"]
},
entry_points={'console_scripts': [
'pytemscript-server = pytemscript.server.run:main',
'pytemscript-test = tests.test_microscope:main',
'pytemscript-test-acquisition = tests.test_acquisition:main',
'pytemscript-test-events = tests.test_events:main'
]},
url="https://github.com/azazellochg/pytemscript",
)
else:
with open(path.join(here, "requirements.txt")) as f:
requirements = f.read().splitlines()
setup(name='pytemscript',
version=__version__,
description='TEM Scripting adapter for FEI/TFS microscopes',
author='Tore Niermann, Grigory Sharov',
author_email='tore.niermann@tu-berlin.de, gsharov@mrclmb.ac.uk',
long_description=long_description,
long_description_content_type='text/x-rst',
packages=find_packages(),
platforms=['any'],
license="GPL-3.0-or-later",
python_requires='>=3.4',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries'
],
keywords='TEM python',
install_requires=[requirements],
extras_require={
"dev": ["matplotlib", "mypy"],
"utapi": ["grpcio", "grpcio-tools", "protobuf"]
},
entry_points={'console_scripts': [
'pytemscript-server = pytemscript.server.run:main',
'pytemscript-test = tests.test_microscope:main',
'pytemscript-test-acquisition = tests.test_acquisition:main',
'pytemscript-test-events = tests.test_events:main'
]},
url="https://github.com/azazellochg/pytemscript",
project_urls={
"Source": "https://github.com/azazellochg/pytemscript",
"Documentation": "https://pytemscript.readthedocs.io/"
}
)