-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
41 lines (35 loc) · 1.24 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
from __future__ import annotations
from pathlib import Path
import setuptools
from build import build
# Static version number which is updated by bump2version
# Do not change this manually - use 'bump2version <major/minor/patch/release>'
__version_tag__ = "3.23.dev"
setup_kwargs = {
"name": "dxtbx",
"version": __version_tag__,
"long_description": Path(__file__).parent.joinpath("README.md").read_text(),
"description": "Diffraction Experiment Toolbox",
"author": "Diamond Light Source",
"license": "BSD-3-Clause",
"author_email": "[email protected]",
"project_urls": {
"homepage": "https://dials.github.io",
"repository": "https://github.com/cctbx/dxtbx",
},
"packages": setuptools.find_packages(where="src"),
"package_dir": {"": "src"},
"package_data": {
"": ["*"],
"dxtbx": ["array_family/*", "boost_python/*", "example/*", "py.typed"],
"dxtbx.format": ["boost_python/*"],
"dxtbx.masking": ["boost_python/*"],
"dxtbx.model": ["boost_python/*"],
},
"entry_points": {
"libtbx.precommit": ["dxtbx=dxtbx"],
"libtbx.dispatcher.script": ["pytest=pytest"],
},
}
build(setup_kwargs)
setuptools.setup(**setup_kwargs)