-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (60 loc) · 2.17 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
from setuptools import setup, find_packages
import os
# To use a consistent encoding
from codecs import open
here = os.path.abspath(os.path.dirname(__file__))
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="mtf-nps-dqe",
version="0.9.0",
packages=find_packages(),
setup_requires=["wheel"],
install_requires=[
"matplotlib>=3.0.0,<4.0.0",
"Pillow>9.0.0,<10.0.0",
"scipy>1.7.0,<2.0.0",
"numpy>=1.16.0,<2.0.0",
"tqdm>=4.0.0,<5.0",
"mrcfile>1.0.0,<2.0.0",
"scikit-image>0.17,<1.0.0",
"pandas>1.0.0,<2.0.0"
],
package_data={
'mtf_nps_dqe': ['mtf/published/*', 'dqe/published/*'],
},
author="Paul van Schayck",
description="Python scripts for measuring MTF and NPS, and thereby calculating DQE.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/M4I-nanoscopy/mtf-nps-dqe",
project_urls={
"Bug Tracker": "https://github.com/M4I-nanoscopy/mtf-nps-dqe/issues",
},
license="MIT",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Image Processing",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux"
],
entry_points={
'console_scripts': [
'measureMTF = mtf_nps_dqe.mtf.measureMTF:main',
'measureNPS = mtf_nps_dqe.nps.measureNPS:main',
'calculateDQE = mtf_nps_dqe.dqe.calculateDQE:main',
'starMTF = mtf_nps_dqe.mtf.starMTF:main',
'plotMTF = mtf_nps_dqe.mtf.plotMTF:main',
'plotNPS = mtf_nps_dqe.nps.plotNPS:main',
'plotDQE = mtf_nps_dqe.dqe.plotDQE:main',
], }
)