mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-09-09 21:12:42 +02:00
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
import setuptools
|
|
|
|
with open("README.md", "r") as fh:
|
|
long_description = fh.read()
|
|
|
|
setuptools.setup(
|
|
name="CDTools",
|
|
version="0.0.1",
|
|
author="Abe Levitan, Madelyn Cain",
|
|
author_email="alevitan@mit.edu",
|
|
description="Coherent Diffraction Tools",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.mit.edu/scattering/CDTools.git",
|
|
install_requires=[
|
|
"numpy>=1.0",
|
|
"scipy>=1.0",
|
|
"matplotlib>=2.0",
|
|
"python-dateutil",
|
|
"torch>=1.3.0", #1.3.0 adds the align_corners option for grid_sample which is used for high NA far-field propagation. 1.2.0 introduced boolean tensors in a breaking way, we use the boolean tensors here for masking.
|
|
"h5py>=2.1",
|
|
"pathlib2 ; python_version<'3.4'"],
|
|
extras_require={
|
|
'tests': ["pytest"],
|
|
'docs': ["sphinx","sphinx-argparse","sphinx_rtd_theme"],
|
|
":python_version<'3.4'": ["pathlib2"],
|
|
},
|
|
packages=setuptools.find_packages(),
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
)
|