-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (34 loc) · 1.24 KB
/
setup.py
File metadata and controls
38 lines (34 loc) · 1.24 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="probe_calibration_wizard",
version="0.1.0",
python_requires='>3.7', # recommended minimum version for pytorch
author="Abe Levitan",
author_email="alevitan@mit.edu",
description="Graphical tool for manipulating probe calibrations for RPI and ptychography",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/allevitan/Probe_Calibration_Wizard",
install_requires=[
"numpy>=1.0",
"scipy>=1.0",
"matplotlib>=2.0", # 2.0 has better colormaps which are used by default
"PyQt5",
"pyzmq",
"torch>=1.9.0", #1.9.0 supports autograd on indexed complex tensors
"cdtools>=0.2.0", # This is hosted on a private repo because it allows for *gasp* ptychographic reconstructions. Contact Abe for access.
],
entry_points={
'console_scripts': [
'pcw=probe_calibration_wizard.__main__:main'
]
},
package_dir={"": "src"},
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
)