|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=61.0", "wheel", "requests", "filelock", "torch", "tqdm"] # NOTE(Zihao): we should remove torch once https://github.com/flashinfer-ai/flashinfer/pull/1641 merged |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "flashinfer-cubin" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "Pre-compiled cubins for FlashInfer" |
| 9 | +readme = {text = "This package contains pre-compiled CUDA kernels (cubins) for FlashInfer. It provides all necessary cubin files downloaded from the FlashInfer artifactory.", content-type = "text/plain"} |
| 10 | +requires-python = ">=3.8" |
| 11 | +license = {text = "Apache-2.0"} |
| 12 | +authors = [ |
| 13 | + {name = "FlashInfer team"}, |
| 14 | +] |
| 15 | +maintainers = [ |
| 16 | + {name = "FlashInfer team"}, |
| 17 | +] |
| 18 | +classifiers = [ |
| 19 | + "Development Status :: 4 - Beta", |
| 20 | + "Intended Audience :: Developers", |
| 21 | + "License :: OSI Approved :: Apache Software License", |
| 22 | + "Operating System :: OS Independent", |
| 23 | + "Programming Language :: Python :: 3", |
| 24 | + "Programming Language :: Python :: 3.8", |
| 25 | + "Programming Language :: Python :: 3.9", |
| 26 | + "Programming Language :: Python :: 3.10", |
| 27 | + "Programming Language :: Python :: 3.11", |
| 28 | + "Programming Language :: Python :: 3.12", |
| 29 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 30 | +] |
| 31 | +dependencies = [ |
| 32 | + "requests", |
| 33 | + "filelock", |
| 34 | +] |
| 35 | + |
| 36 | +[project.urls] |
| 37 | +Homepage = "https://github.com/flashinfer-ai/flashinfer" |
| 38 | +Documentation = "https://github.com/flashinfer-ai/flashinfer" |
| 39 | +Repository = "https://github.com/flashinfer-ai/flashinfer" |
| 40 | +"Issue Tracker" = "https://github.com/flashinfer-ai/flashinfer/issues" |
| 41 | + |
| 42 | +[tool.setuptools] |
| 43 | +packages = ["flashinfer_cubin"] |
| 44 | +include-package-data = true |
| 45 | + |
| 46 | +[tool.setuptools.dynamic] |
| 47 | +version = {attr = "flashinfer_cubin.__version__"} |
| 48 | + |
| 49 | +[tool.setuptools.package-data] |
| 50 | +flashinfer_cubin = ["cubins/**/*"] |
| 51 | + |
| 52 | +[tool.setuptools.cmdclass] |
| 53 | +build_py = "setup.DownloadAndBuildPy" |
| 54 | +sdist = "setup.CustomSdist" |
0 commit comments