This repository was archived by the owner on Feb 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (46 loc) · 1.93 KB
/
setup.py
File metadata and controls
51 lines (46 loc) · 1.93 KB
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
import setuptools
def open_requirements(path):
with open(path) as f:
requires = [
r.split('/')[-1] if r.startswith('git+') else r
for r in f.read().splitlines()]
return requires
readme = open('README.md').read()
history = open('HISTORY.md').read()
requirements = open_requirements('requirements.txt')
setuptools.setup(
name='dddm',
version='4.0.0',
description='Direct Detection of Dark Matter: '
'Probing the complementarity of several targets for dark matter detection',
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
author='Joran R. Angevaare',
url='https://github.com/jorana/DD_DM_targets',
packages=setuptools.find_packages() + ['extra_requirements'],
package_dir={'dddm': 'dddm',
'extra_requirements': 'extra_requirements'},
package_data={'dddm': ['data/*'],
'extra_requirements': ['requirements-tests.txt'],
},
setup_requires=['pytest-runner'],
install_requires=requirements,
python_requires=">=3.8",
tests_require=requirements + ['pytest',
'hypothesis-numpy'],
scripts=['scripts/run_combined_multinest',
'scripts/run_dddm_emcee',
],
keywords='todo',
classifiers=['Intended Audience :: Science/Research',
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3.8',
'Natural Language :: English',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Physics',
],
zip_safe=False)