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
|
[build-system]
requires = [
"setuptools >= 61",
"wheel",
"cffi>=1.15.0",
"packaging;platform_system=='Windows'",
]
build-backend = "setuptools.build_meta"
[project]
name = "rpy2"
description = "Python interface to the R language (embedded R)"
readme = "README.md"
requires-python = ">=3.7"
license = { text = "GPLv2+" }
authors = [{ name = "Laurent Gautier", email = "lgautier@gmail.com" }]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
]
dependencies = [
"cffi>=1.15.1",
"jinja2",
"tzlocal",
"packaging;platform_system=='Windows'",
"typing-extensions;python_version<'3.8'",
"backports.zoneinfo;python_version<'3.9'"
]
dynamic = ["version"]
[project.optional-dependencies]
doc = ['ipykernel',
'jupytext',
'multipledispatch',
'nbconvert',
'numpy',
'pandas',
'pygraphviz',
'sphinx']
test_minimal = ["pytest>=8", "coverage", "pytest-cov"]
test = ["pytest", "ipython",
"numpy>=1.26;python_version >= '3.9'", "numpy<1.26;python_version < '3.9'",
"pandas>=1.3.5;python_version >= '3.10'", "pandas;python_version < '3.10'"]
numpy = ["numpy>=1.26;python_version >= '3.9'", "numpy<1.26;python_version < '3.9'"]
pandas = ["numpy>=1.26;python_version >= '3.9'", "numpy<1.26;python_version < '3.9'",
"pandas>=1.3.5; python_version >= '3.10'", "pandas;python_version < '3.10'"]
types = ["mypy", "types-tzlocal"]
all = ["pytest", "ipython",
"numpy>=1.26;python_version >= '3.9'", "numpy<1.26;python_version < '3.9'",
"pandas>=1.3.5; python_version >= '3.10'", "pandas;python_version < '3.10'"]
[project.urls]
Homepage = "https://rpy2.github.io"
Documentation = "https://rpy2.github.io/doc.html"
Source = "https://github.com/rpy2/rpy2"
Tracker = "https://github.com/rpy2/rpy2/issue"
[tool.setuptools]
packages = [
"rpy2",
"rpy2.rlike",
'rpy2.rinterface_lib',
'rpy2.robjects',
'rpy2.robjects.lib',
'rpy2.interactive',
'rpy2.ipython',
'rpy2.tests',
'rpy2.tests.rinterface',
'rpy2.tests.rlike',
'rpy2.tests.robjects',
'rpy2.tests.ipython',
'rpy2.tests.robjects.lib',
]
# zip_safe = false # not supported as of setuptools==62.3.2
[tool.setuptools.dynamic]
version = { attr = "rpy2.__version__" }
# [tool.setuptools.package_data]
# rpy2 = [
# 'rpy2/rinterface_lib/R_API.h',
# 'rpy2/rinterface_lib/R_API_eventloop.h',
# 'rpy2/rinterface_lib/R_API_eventloop.c',
# 'rpy2/rinterface_lib/RPY2.h',
# 'rpy2/rinterface_lib/_bufferprotocol.c',
# 'py.typed',
# ] # not supported as of setuptools==62.3.2
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["rpy2/tests"]
|