-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
102 lines (97 loc) · 3.29 KB
/
setup.py
File metadata and controls
102 lines (97 loc) · 3.29 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
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
#!/usr/bin/env python3
"""
Setup script for TaskVine Report Tool
Traditional setup.py configuration for reliable PyPI packaging.
"""
from setuptools import setup
import os
import re
def get_version():
"""Read version from __init__.py without importing the package"""
init_path = os.path.join(os.path.dirname(__file__), 'taskvine_report', '__init__.py')
with open(init_path, 'r', encoding='utf-8') as f:
content = f.read()
version_match = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', content, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError('Unable to find version string.')
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="taskvine-report-tool",
version=get_version(),
author="Collaborative Computing Lab (CCL), University of Notre Dame",
author_email="jzhou24@nd.edu",
description="Visualization and analysis tool for TaskVine execution logs",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cooperative-computing-lab/taskvine-report-tool",
project_urls={
"Documentation": "https://ccl.cse.nd.edu/software/taskvine/",
"Repository": "https://github.com/cooperative-computing-lab/taskvine-report-tool",
"Bug Reports": "https://github.com/cooperative-computing-lab/taskvine-report-tool/issues",
"CCL Homepage": "https://ccl.cse.nd.edu/",
},
packages=["taskvine_report", "taskvine_report.cli", "taskvine_report.routes", "taskvine_report.src"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Monitoring",
],
python_requires=">=3.7",
install_requires=[
"flask",
"pandas",
"cloudpickle",
"tqdm",
"bitarray",
"pytz",
"graphviz",
"rich",
"polars",
"numpy",
"pyarrow",
],
extras_require={
"dev": [
"pytest",
"pytest-cov",
"black",
"flake8",
"mypy",
],
"test": [
"pytest",
"pytest-cov",
],
},
entry_points={
"console_scripts": [
"vine_parse=taskvine_report.cli.parse:main",
"vine_report=taskvine_report.cli.report:main",
],
},
include_package_data=True,
package_data={
"taskvine_report": [
"templates/*",
"templates/**/*",
"static/*",
"static/**/*",
"static/**/**/*",
],
},
keywords=["taskvine", "workflow", "visualization", "monitoring", "distributed-computing", "ccl", "notre-dame"],
)