diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c91904 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*~ +\#*# +*.pyc +*.egg-info +docs/build \ No newline at end of file diff --git a/CDTools/__init__.py b/CDTools/__init__.py new file mode 100644 index 0000000..fbe00ae --- /dev/null +++ b/CDTools/__init__.py @@ -0,0 +1,3 @@ +from __future__ import division, print_function, absolute_import + +from CDTools import tools diff --git a/CDTools/tools/__init__.py b/CDTools/tools/__init__.py new file mode 100644 index 0000000..d675d93 --- /dev/null +++ b/CDTools/tools/__init__.py @@ -0,0 +1 @@ +from __future__ import division, print_function, absolute_import diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..82c3bbc --- /dev/null +++ b/setup.py @@ -0,0 +1,26 @@ +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", + "scipy", + "matplotlib", + "pytorch", + "h5py"], + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", + ], +)