|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=60", "wheel", "setuptools_scm>=8.0"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[tool.setuptools] |
| 6 | +packages = {find = {include = ["shiny", "shiny.*"]}} |
| 7 | + |
| 8 | +[tool.setuptools_scm] |
| 9 | +write_to = "shiny/_version.py" |
| 10 | +local_scheme = "no-local-version" |
| 11 | + |
| 12 | +[project] |
| 13 | +name = "shiny" |
| 14 | +dynamic = ["version"] |
| 15 | +authors = [ |
| 16 | + { name = "Winston Chang", email = "[email protected]"}, |
| 17 | +] |
| 18 | +description = "A web development framework for Python." |
| 19 | +readme = "README.md" |
| 20 | +requires-python = ">=3.8" |
| 21 | +license = {text = "MIT"} |
| 22 | +classifiers = [ |
| 23 | + "Development Status :: 5 - Production/Stable", |
| 24 | + "Intended Audience :: Developers", |
| 25 | + "License :: OSI Approved :: MIT License", |
| 26 | + "Natural Language :: English", |
| 27 | + "Programming Language :: Python :: 3.8", |
| 28 | + "Programming Language :: Python :: 3.9", |
| 29 | + "Programming Language :: Python :: 3.10", |
| 30 | + "Programming Language :: Python :: 3.11", |
| 31 | + "Programming Language :: Python :: 3.12", |
| 32 | +] |
| 33 | +dependencies = [ |
| 34 | + "typing-extensions>=4.10.0", |
| 35 | + "uvicorn>=0.16.0;platform_system!='Emscripten'", |
| 36 | + "starlette", |
| 37 | + "websockets>=10.0", |
| 38 | + "python-multipart", |
| 39 | + "htmltools>=0.5.2", |
| 40 | + "click>=8.1.4;platform_system!='Emscripten'", |
| 41 | + "markdown-it-py>=1.1.0", |
| 42 | + "mdit-py-plugins>=0.3.0", |
| 43 | + "linkify-it-py>=1.0", |
| 44 | + "appdirs>=1.4.4", |
| 45 | + "asgiref>=3.5.2", |
| 46 | + "packaging>=20.9", |
| 47 | + "watchfiles>=0.18.0;platform_system!='Emscripten'", |
| 48 | + "questionary>=2.0.0;platform_system!='Emscripten'", |
| 49 | + "prompt-toolkit;platform_system!='Emscripten'", |
| 50 | + "python-multipart>=0.0.7;platform_system!='Emscripten'", |
| 51 | + "setuptools;python_version>='3.12'", |
| 52 | +] |
| 53 | + |
| 54 | +[project.optional-dependencies] |
| 55 | +theme = ["libsass>=0.23.0"] |
| 56 | +test = [ |
| 57 | + "pytest>=6.2.4", |
| 58 | + "pytest-asyncio>=0.17.2", |
| 59 | + "pytest-playwright>=0.3.0", |
| 60 | + "playwright>=1.43.0", |
| 61 | + "pytest-xdist", |
| 62 | + "pytest-timeout", |
| 63 | + "pytest-rerunfailures", |
| 64 | + "pytest-cov", |
| 65 | + "coverage", |
| 66 | + "syrupy>=4.7.1", |
| 67 | + "psutil", |
| 68 | + "astropy", |
| 69 | + "suntime", |
| 70 | + "timezonefinder", |
| 71 | + "ipyleaflet", |
| 72 | + "shinywidgets", |
| 73 | + "seaborn", |
| 74 | + "plotnine", |
| 75 | + "plotly", |
| 76 | + "duckdb", |
| 77 | + "holoviews", |
| 78 | + "bokeh", |
| 79 | + "xarray", |
| 80 | + "geopandas", |
| 81 | + "geodatasets", |
| 82 | + "missingno", |
| 83 | + "rsconnect-python", |
| 84 | + "scikit-learn", |
| 85 | + "folium", |
| 86 | + "palmerpenguins", |
| 87 | + "faicons", |
| 88 | + "ridgeplot", |
| 89 | + "great_tables", |
| 90 | +] |
| 91 | +dev = [ |
| 92 | + "black>=24.0", |
| 93 | + "flake8>=6.0.0", |
| 94 | + "flake8-bugbear>=23.2.13", |
| 95 | + "Flake8-pyproject>=1.2.3", |
| 96 | + "isort>=5.10.1", |
| 97 | + "libsass>=0.23.0", |
| 98 | + "pyright==1.1.369", |
| 99 | + "pre-commit>=2.15.0", |
| 100 | + "wheel", |
| 101 | + "matplotlib", |
| 102 | + "pandas", |
| 103 | + "pandas-stubs", |
| 104 | + "polars", |
| 105 | + "numpy", |
| 106 | + "shinyswatch>=0.7.0", |
| 107 | + "python-dotenv", |
| 108 | + "anthropic", |
| 109 | + "google-generativeai;python_version>='3.9'", |
| 110 | + "langchain_core", |
| 111 | + "openai", |
| 112 | + "ollama", |
| 113 | + "tokenizers", |
| 114 | + "aiohttp", |
| 115 | + "beautifulsoup4", |
| 116 | +] |
| 117 | +doc = [ |
| 118 | + "jupyter", |
| 119 | + "jupyter_client < 8.0.0", |
| 120 | + "tabulate", |
| 121 | + "shinylive", |
| 122 | + "pydantic>=2.7.4", |
| 123 | + "quartodoc==0.7.5", |
| 124 | + "griffe<1.0.0", |
| 125 | +] |
| 126 | + |
| 127 | +[project.urls] |
| 128 | +Homepage = "https://github.com/posit-dev/py-shiny" |
| 129 | +Documentation = "https://shiny.posit.co/py/" |
| 130 | +Repository = "https://github.com/posit-dev/py-shiny" |
| 131 | +"Bug Tracker" = "https://github.com/posit-dev/py-shiny/issues" |
| 132 | + |
| 133 | +[project.scripts] |
| 134 | +shiny = "shiny._main:main" |
| 135 | + |
| 136 | +[project.entry-points.pytest11] |
| 137 | +shiny-test = "shiny.pytest._pytest" |
| 138 | + |
| 139 | +[tool.pytest.ini_options] |
| 140 | +testpaths = ["tests"] |
| 141 | + |
| 142 | +[tool.flake8] |
| 143 | +extend-exclude = ["docs", ".venv", "venv", "typings", "build", "_dev"] |
| 144 | +ignore = ["E302", "E501", "F403", "F405", "W503", "E203", "E701", "E704"] |
| 145 | + |
| 146 | +[tool.isort] |
| 147 | +profile = "black" |
| 148 | +skip = ["__init__.py", "typings/", "_dev/", ".venv", "venv", ".tox", "build"] |
0 commit comments