-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (49 loc) · 1.7 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
from setuptools import setup, find_packages
# Get version number
def getVersionNumber():
with open("mdx2/VERSION", "r") as vfile:
version = vfile.read().strip()
return version
__version__ = getVersionNumber()
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='mdx2',
version=__version__,
description='mdx2: macromolecular diffuse scattering data reduction in python',
long_description=readme,
author='Steve P. Meisburger',
author_email='[email protected]',
url='https://github.com/ando-lab/mdx2',
license=license,
packages=find_packages(exclude=('tests', 'docs')),
python_requires=">=3.9",
install_requires=[
"numpy",
"pandas",
"scipy",
"dxtbx", # needs to be installed with conda
"nexusformat",
"joblib",
"numexpr",
],
entry_points={
'console_scripts': [
'mdx2.version=mdx2.command_line.version:run',
'mdx2.import_data=mdx2.command_line.import_data:run',
'mdx2.import_geometry=mdx2.command_line.import_geometry:run',
'mdx2.find_peaks=mdx2.command_line.find_peaks:run',
'mdx2.mask_peaks=mdx2.command_line.mask_peaks:run',
'mdx2.tree=mdx2.command_line.tree:run',
'mdx2.bin_image_series=mdx2.command_line.bin_image_series:run',
'mdx2.integrate=mdx2.command_line.integrate:run',
'mdx2.correct=mdx2.command_line.correct:run',
'mdx2.merge=mdx2.command_line.merge:run',
'mdx2.map=mdx2.command_line.map:run',
'mdx2.scale=mdx2.command_line.scale:run',
],
},
include_package_data=True,
)