-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
58 lines (52 loc) · 2.31 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
#!/usr/bin/env python3
from setuptools import setup
# Read version number
with open("holoaverage/version.py") as fp:
exec(fp.read())
long_description = """
Holoaverage is a Python script for the reconstruction and averaging of series of off-axis electron holograms,
typically recorded in transmission electron holograms. The averaging is performed iteratively, such that instabilities
of the microscope, like specimen and biprism drifts, can be tracked and corrected between consecutive exposures.
The averaging process is speed up, when also the `pyFFTW <http://hgomersall.github.com/pyFFTW/>`_ package is installed.
However, is not a requirement for holoaverage and thus not automatically installed by ``pip``.
The source for holoaverage can be found on `GitHub <https://github.com/niermann/holoaverage>`_. The documentation can
be found on `ReadTheDocs <https://holoaverage.readthedocs.io>`_.
"""
setup(
name='holoaverage',
version=__version__,
license='GPLv3+',
description='Reconstruction and averaging of off-axis electron holograms as obtained by transmission electron microscopes.',
long_description=long_description,
author='Tore Niermann',
author_email='tore.niermann@tu-berlin.de',
url='https://github.com/niermann/holoaverage',
packages=["holoaverage"],
provides=["holoaverage"],
classifiers=[
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
],
install_requires=['numpy', 'scipy', 'h5py', 'python-dateutil'],
extras_require={
'rst': ['docutils>=0.11'],
'fftw': ['pyfftw'],
},
entry_points={
'console_scripts': [
'holoaverage = holoaverage.main:main',
]
},
project_urls={
"Documentation": "https://holoaverage.readthedocs.io",
"Source Code": "https://github.com/niermann/holoaverage",
}
)