-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·60 lines (53 loc) · 1.65 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
#!/usr/bin/env python3
#
# Copyright 2017-2024 Vrije Universiteit Brussel
# All rights reserved.
#
# This file is part of build_tools (https://github.com/vub-hpc/build_tools),
# originally created by the HPC team of Vrije Universiteit Brussel (https://hpc.vub.be),
# with support of Vrije Universiteit Brussel (https://www.vub.be),
# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be),
# the Flemish Research Foundation (FWO) (http://www.fwo.be/en)
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
#
##
"""
build_tools base distribution setup.py
@author: Alex Domingo (Vrije Universiteit Brussel)
"""
import setuptools
PKG = {}
with open("src/build_tools/package.py", encoding='utf-8') as fh:
exec(fh.read(), PKG)
with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
setuptools.setup(
name="build_tools",
version=PKG["VERSION"],
author=', '.join(PKG["AUTHOR"].values()),
author_email=', '.join(PKG["AUTHOR_EMAIL"].values()),
description="Tools to build and install software",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://vub-hpc/build_tools",
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
scripts=[
'bin/submit_build.py',
'bin/get_module_from_easyconfig.py',
],
python_requires='~=3.9',
install_requires=[
'vsc-base',
'vsc-utils',
'easybuild',
'flufl.lock',
],
tests_require=[
'pytest',
],
package_data={
"build_tools": ["footers/*.footer"],
},
zip_safe=False,
)