-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
74 lines (56 loc) · 2.23 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
###################################################################################################
# Copyright (c) 2020-2024 Centre national de la recherche scientifique (CNRS)
# Copyright (c) 2020-2024 Commissariat a l'énergie atomique et aux énergies alternatives (CEA)
# Copyright (c) 2020-2024 Institut national de recherche en informatique et en automatique (Inria)
# Copyright (c) 2020-2024 Université Paris-Saclay
# Copyright (c) 2020-2024 Université de Versailles Saint-Quentin-en-Yvelines
#
# SPDX-License-Identifier: MIT
#
###################################################################################################
import os
from setuptools import setup
def find_version(*file_paths):
def read(*parts):
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, *parts)) as fp:
return fp.read().strip()
import re
version_file = read(*file_paths)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
def readme():
with open('README.md', 'r') as f:
return f.read()
version = find_version("deisa", "__version__.py")
setup(name='deisa',
version=version,
description='Deisa: Dask-Enabled In Situ Analytics',
long_description=readme(),
long_description_content_type='text/markdown',
license='MIT',
url='https://github.com/pdidev/deisa',
project_urls={
'Bug Reports': 'https://github.com/pdidev/deisa/issues',
'Source': 'https://github.com/pdidev/deisa',
},
author='A. Gueroudji',
author_email='[email protected]',
python_requires='>=3.9',
keywords='deisa in-situ',
packages=['deisa'],
install_requires=[
"dask~=2023.11.0",
'distributed @ git+https://github.com/GueroudjiAmal/distributed@external'
],
# tests_require=["unittest"],
# test_suite='test',
classifiers=[
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha"
]
)