|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools", "setuptools-scm"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +requires-python = ">=3.8" |
| 7 | +name = "computercraft" |
| 8 | +version = "0.4.0" |
| 9 | +description = "Pythonization of ComputerCraft Minecraft mod. Write Python instead Lua!" |
| 10 | +readme = "README.md" |
| 11 | +authors = [{name = "Vitalik Verhovodov", email = "knifeslaughter@gmail.com"}] |
| 12 | +license = {file = "LICENSE"} |
| 13 | +classifiers = [ |
| 14 | + "Development Status :: 3 - Alpha", |
| 15 | + "Intended Audience :: Education", |
| 16 | + "Programming Language :: Python :: 3.8", |
| 17 | + "Programming Language :: Python :: 3.9", |
| 18 | + "Programming Language :: Python :: 3.10", |
| 19 | + "Programming Language :: Python :: 3.11", |
| 20 | + "Programming Language :: Python :: 3.12", |
| 21 | + "Programming Language :: Python :: 3.13", |
| 22 | + "Programming Language :: Python :: 3.14", |
| 23 | + "Topic :: Games/Entertainment", |
| 24 | +] |
| 25 | +keywords = [ |
| 26 | + "computercraft", |
| 27 | + "minecraft", |
| 28 | + "cc:tweaked", |
| 29 | +] |
| 30 | +dependencies = [ |
| 31 | + "aiohttp", |
| 32 | + "greenlet", |
| 33 | +] |
| 34 | + |
| 35 | +[project.optional-dependencies] |
| 36 | +dev = [ |
| 37 | + "pytest", |
| 38 | +] |
| 39 | + |
| 40 | +[project.urls] |
| 41 | +Repository = "https://github.com/neumond/python-computer-craft" |
| 42 | + |
| 43 | +[project.scripts] |
| 44 | +computercraft = "computercraft.server:main" |
| 45 | + |
| 46 | +[tool.setuptools] |
| 47 | +packages = [ |
| 48 | + "computercraft", |
| 49 | + "computercraft.cc", |
| 50 | + "computercraft.cc_peripherals", |
| 51 | + "computercraft.oc", |
| 52 | + "computercraft.oc_components", |
| 53 | +] |
| 54 | + |
| 55 | +[tool.setuptools.package-data] |
| 56 | +computercraft = ["back.lua"] |
| 57 | + |
| 58 | +[tool.pytest.ini_options] |
| 59 | +addopts = "--import-mode=importlib" |
| 60 | +testpaths = ["tests"] |
| 61 | +pythonpath = "." |
| 62 | + |
| 63 | +[tool.flake8] |
| 64 | +max-line-length = 120 |
| 65 | +ignore = ["I", "C812", "N802", "N803", "N815", "N816", "W503"] |
0 commit comments