-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
116 lines (114 loc) · 4.21 KB
/
Copy pathsetup.py
File metadata and controls
116 lines (114 loc) · 4.21 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="clustrix",
version="0.2.0",
author="Contextual Dynamics Laboratory",
author_email="contextualdynamics@gmail.com",
description="Seamless distributed computing for Python functions",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ContextLab/clustrix",
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing",
],
# Must match pyproject.toml: four hard dependencies require >=3.10.
python_requires=">=3.10",
install_requires=[
"paramiko>=2.7.0",
"pyyaml>=5.4.0",
"cloudpickle>=3.0.0", # 2.x breaks by-value packages that define a
# typing.NamedTuple; see pyproject.toml
"dill>=0.3.4",
"click>=8.0.0",
"requests>=2.25.0", # For Lambda Cloud and general HTTP requests
# run_job / inspect_job / fetch_job_logs -- the whole Jobs API the
# huggingface backend is built on -- arrived well after 0.16.
"huggingface_hub>=0.34.0",
"python-dotenv>=1.0.0", # credential_manager.py loads ~/.clustrix/.env
],
extras_require={
"widget": [
"ipywidgets>=7.6.0",
"jupyter>=1.0",
"ipython>=7.0",
],
"dev": [
"pytest>=6.0",
"pytest-cov>=2.0",
# tests/comprehensive/* and several tests/*_real.py modules import
# numpy and pandas at module scope; without them those modules
# raise ModuleNotFoundError during collection (see #130).
"numpy>=1.19",
"pandas>=1.1",
# tests/test_decorator_real.py trains a real model; see pyproject.
"scikit-learn>=1.0",
"black==26.3.1", # pinned to match pyproject.toml; earlier releases carry
# an arbitrary-file-write advisory (GHSA-3936-cmfr-pm3m)
"flake8>=3.8",
"mypy>=0.812",
"types-PyYAML",
"types-requests",
"types-paramiko",
# The notebook widget suite imports these at module scope.
"ipywidgets>=7.6.0",
"ipython>=7.0.0",
# Several deadlock regression tests use @pytest.mark.timeout and
# hang forever without it.
"pytest-timeout>=2.0",
],
"test": [
"pytest>=6.0",
"pytest-cov>=2.0",
"coverage>=6.0",
"pytest-xdist>=2.0", # For parallel test execution
"pytest-mock>=3.0", # For better mocking support
],
"docs": [
"sphinx>=4.0",
"sphinx-wagtail-theme>=6.0.0",
"sphinx-autodoc-typehints>=1.12",
"nbsphinx>=0.8",
"jupyter>=1.0",
"ipython>=7.0",
],
"all": [
# Widget dependencies
"ipywidgets>=7.6.0",
"jupyter>=1.0",
"ipython>=7.0",
# Development dependencies
"pytest>=6.0",
"pytest-cov>=2.0",
"black==26.3.1", # pinned to match pyproject.toml; earlier releases carry
# an arbitrary-file-write advisory (GHSA-3936-cmfr-pm3m)
"flake8>=3.8",
"mypy>=0.812",
# Documentation dependencies
"sphinx>=4.0",
"sphinx-wagtail-theme>=6.0.0",
"sphinx-autodoc-typehints>=1.12",
"nbsphinx>=0.8",
],
},
entry_points={
"console_scripts": [
"clustrix=clustrix.cli:cli",
],
},
include_package_data=True,
zip_safe=False,
)