-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
43 lines (37 loc) · 1.5 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
# -*- coding: utf-8 -*-
"""Setup file for nucleon_elastic_FF
"""
__author__ = "walkloud, Christopher Körber"
__version__ = "0.2.0"
from os import path
from setuptools import setup, find_packages
CWD = path.abspath(path.dirname(__file__))
with open(path.join(CWD, "README.md"), encoding="utf-8") as inp:
LONG_DESCRIPTION = inp.read()
with open(path.join(CWD, "requirements.txt"), encoding="utf-8") as inp:
REQUIREMENTS = [el.strip() for el in inp.read().split(",")]
setup(
name="nucleon_elastic_FF",
version=__version__,
description="Module to massage HDF5 correlator files into smaller pieces",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/callat-qcd/nucleon_elastic_FF",
author=__author__,
author_email="ckoerber@berkeley.edu",
keywords=["HDF5", "LQCD", "FFT", "CUDA"],
packages=find_packages(exclude=["docs", "tests", "tmp_a09m310_e_scripts"]),
install_requires=REQUIREMENTS,
entry_points={
"console_scripts": [
"h5eq=nucleon_elastic_ff.data.scripts.h5eq:main",
"nucelff=nucleon_elastic_ff.data.scripts.nucelff:main",
"h5fft=nucleon_elastic_ff.data.scripts.fft:main",
"h5concat=nucleon_elastic_ff.data.scripts.concat:main",
"h5avg=nucleon_elastic_ff.data.scripts.average:main",
"h5migrate=nucleon_elastic_ff.data.scripts.h5migrate:main",
]
},
setup_requires=["pytest-runner"],
tests_require=["pytest"],
)