forked from CFEL-CMI/pymepix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
119 lines (107 loc) · 3.76 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#!/usr/bin/env python
#
# This file is part of Pymepix
#
# In all scientific work using Pymepix, please reference it as
#
# A. F. Al-Refaie, M. Johny, J. Correa, D. Pennicard, P. Svihra, A. Nomerotski, S. Trippel, and J. Küpper:
# "PymePix: a python library for SPIDR readout of Timepix3", J. Inst. 14, P10003 (2019)
# https://doi.org/10.1088/1748-0221/14/10/P10003
# https://arxiv.org/abs/1905.07999
#
# Pymepix is free software: you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with this program. If not,
# see <https://www.gnu.org/licenses/>.
from distutils.core import setup
from setuptools import find_packages
author = "CFEL Controlled Molecule Imaging group"
copyright = "2018–2020 CFEL-CMI <[email protected]>"
name = "pymepix"
version = "1.1.dev0"
release = version
packages = find_packages(exclude=("tests", "doc"))
provides = ["pymepix"]
requires = []
install_requires = [
"numpy",
"scikit-learn",
"scipy",
"pyyaml",
"pyzmq",
"pyserial",
"h5py",
"tqdm",
]
console_scripts = ["pymepix-acq=pymepix.main:main"]
entry_points = {"console_scripts": console_scripts}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Hardware :: Hardware Drivers",
]
long_description = None
with open("README.md") as f:
long_description = f.read()
setup(
name=name,
# Original author: Ahmed Al Refaie
author=author,
author_email="[email protected]",
maintainer="Hubertus Bromberger and CFEL-CMI group",
maintainer_email="[email protected]",
version=version,
description="Timepix Python library",
download_url="https://stash.desy.de/projects/CMIPUBLIC/repos/timepix",
classifiers=classifiers,
packages=packages,
# include_package_data=True,
# package_dir={"pymepix": "pymepix"},
package_data={"": ["*.yaml"]},
entry_points=entry_points,
long_description=long_description,
long_description_content_type="text/markdown",
provides=provides,
requires=requires,
install_requires=install_requires,
command_options={
"build_sphinx": {
"project": ("setup.py", name),
"version": ("setup.py", version),
"release": ("setup.py", release),
"source_dir": ("setup.py", "doc"),
"copyright": ("setup.py", copyright),
}
},
)
# Local Variables:
# fill-column: 100
# truncate-lines: t
# End: