|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "libloader" |
| 7 | +version = "1.3.3" |
| 8 | +authors = [ |
| 9 | + {name = "Christopher Toth", email = "q@q-continuum.net"}, |
| 10 | +] |
| 11 | +description = "Quickly and easily load shared libraries on various platforms. Also includes a libloader.com module for loading com modules on Windows." |
| 12 | +readme = "README.md" |
| 13 | +license = {file = "LICENSE"} |
| 14 | +requires-python = ">=3.8" |
| 15 | +classifiers = [ |
| 16 | + "Development Status :: 3 - Alpha", |
| 17 | + "Intended Audience :: Developers", |
| 18 | + "Programming Language :: Python :: 3", |
| 19 | + "Programming Language :: Python :: 3.8", |
| 20 | + "Programming Language :: Python :: 3.9", |
| 21 | + "Programming Language :: Python :: 3.10", |
| 22 | + "Programming Language :: Python :: 3.11", |
| 23 | + "Programming Language :: Python :: 3.12", |
| 24 | + "Programming Language :: Python :: 3.13", |
| 25 | + "License :: OSI Approved :: MIT License", |
| 26 | + "Topic :: Software Development :: Libraries", |
| 27 | + "Operating System :: OS Independent", |
| 28 | +] |
| 29 | +dependencies = [ |
| 30 | + "pywin32; sys_platform == 'win32'", |
| 31 | +] |
| 32 | + |
| 33 | +[dependency-groups] |
| 34 | +dev = [ |
| 35 | + "ruff>=0.8.0", |
| 36 | + "pyright>=1.1.0", |
| 37 | +] |
| 38 | + |
| 39 | +[tool.ruff] |
| 40 | +line-length = 100 |
| 41 | +target-version = "py38" |
| 42 | + |
| 43 | +[tool.ruff.lint] |
| 44 | +select = [ |
| 45 | + "E", # pycodestyle errors |
| 46 | + "W", # pycodestyle warnings |
| 47 | + "F", # pyflakes |
| 48 | + "I", # isort |
| 49 | + "UP", # pyupgrade |
| 50 | + "B", # flake8-bugbear |
| 51 | +] |
| 52 | +ignore = [] |
| 53 | + |
| 54 | +[tool.pyright] |
| 55 | +pythonVersion = "3.8" |
| 56 | +typeCheckingMode = "basic" |
| 57 | +reportUnusedImport = "warning" |
| 58 | +reportUnusedVariable = "warning" |
| 59 | +reportDuplicateImport = "error" |
| 60 | +reportMissingTypeStubs = false |
| 61 | +reportMissingImports = "error" |
| 62 | +reportUnknownMemberType = false |
| 63 | +reportUnknownArgumentType = false |
| 64 | +reportUnknownVariableType = false |
| 65 | +reportPrivateUsage = "warning" |
| 66 | +reportConstantRedefinition = "error" |
| 67 | +exclude = [ |
| 68 | + "**/__pycache__", |
| 69 | + "**/.git", |
| 70 | + "**/build", |
| 71 | + "**/dist", |
| 72 | +] |
0 commit comments