-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
39 lines (33 loc) · 977 Bytes
/
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
#
# Copyright (C) 2019 James Parkhurst
#
# This code is distributed under the GPLv3 license.
#
from skbuild import setup
def main():
"""
Setup the package
"""
tests_require = ["pytest", "pytest-cov", "mock"]
setup(
package_dir={"guanaco": "src"},
packages=["guanaco"],
install_requires=["mrcfile", "numpy"],
setup_requires=["pytest-runner"],
tests_require=tests_require,
test_suite="test",
entry_points={
"console_scripts": [
"guanaco=guanaco.command_line:main",
"guanaco.plot_ctf=guanaco.command_line:plot_ctf",
"guanaco.generate_ctf=guanaco.command_line:generate_ctf",
"guanaco.correct=guanaco.command_line:correct",
]
},
extras_require={
"build_sphinx": ["sphinx", "sphinx_rtd_theme"],
"test": tests_require,
},
)
if __name__ == "__main__":
main()