-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
83 lines (74 loc) · 2.81 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
from setuptools import setup, find_packages
# Get version number
def getVersionNumber():
with open("rsbooster/VERSION", "r") as vfile:
version = vfile.read().strip()
return version
__version__ = getVersionNumber()
DESCRIPTION = "Useful scripts for analyzing diffraction"
LONG_DESCRIPTION = """
rs-booster contains commandline scripts for diffraction data analysis tasks.
This package can be viewed as a "booster pack" for reciprocalspaceship.
"""
PROJECT_URLS = {
"Bug Tracker": "https://github.com/rs-station/rs-booster/issues",
"Source Code": "https://github.com/rs-station/rs-booster",
}
# Testing requirements
tests_require = ["pytest", "pytest-xdist", "pytest-runner"]
# Requirements for building docs
docs_require = [
"sphinx",
"sphinx_rtd_theme",
"nbsphinx",
"sphinxcontrib-autoprogram",
"autodocsumm",
]
setup(
name="rs-booster",
packages=find_packages(),
include_package_data=True,
version=__version__,
license="MIT",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author="Jack B. Greisman",
author_email="greisman@g.harvard.edu",
url="https://github.com/rs-station/rs-booster",
project_urls=PROJECT_URLS,
python_requires=">3.7",
install_requires=["reciprocalspaceship", "matplotlib", "seaborn"],
extras_require={
"dev": tests_require + docs_require,
"docs": docs_require
},
entry_points={
"console_scripts": [
"rs.extrapolate=rsbooster.esf.extrapolate:main",
"rs.scaleit=rsbooster.scaleit.scaleit:main",
"rs.internal_diffmap=rsbooster.diffmaps.internaldiffmap:main",
"rs.ccsym=rsbooster.stats.ccsym:main",
"rs.ccanom=rsbooster.stats.ccanom:main",
"rs.cchalf=rsbooster.stats.cchalf:main",
"rs.ccpred=rsbooster.stats.ccpred:main",
"rs.diffmap=rsbooster.diffmaps.diffmap:main",
"rs.precog2mtz=rsbooster.io.precog2mtz:main",
"rs.find_peaks=rsbooster.realspace.find_peaks:find_peaks",
"rs.find_difference_peaks=rsbooster.realspace.find_peaks:find_difference_peaks",
"rs.rfree=rsbooster.utils.rfree:main",
"rs.from_dials=rsbooster.io.dials2mtz:ray_main",
"rs.from_dials_mpi=rsbooster.io.dials2mtz:mpi_main",
"rs.print_refl=rsbooster.io.dials2mtz:print_refl"
]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
],
)