-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (46 loc) · 1.5 KB
/
pyproject.toml
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
# Using setuptools for build
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
# Project details
[project]
name = "iqtester"
version = "0.2.2"
description = "A Python CLI version of the classic brain game IQ Tester"
authors = [{ name = "Andrew Tracey", email = "act.project.alpha@gmail.com" }]
classifiers = [
"Topic :: Games/Entertainment",
"Topic :: Games/Entertainment :: Puzzle Games",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
readme = "README.md"
license = { file = "LICENSE.md" }
keywords = ["iq tester", "game", "classic game"]
requires-python = ">=3.7"
dependencies = ['colorama']
# Path to package source files
[tool.setuptools.packages.find]
where = ["src"]
include = ["iqtester*"]
# Set script to be run when `python -m iqtester` is called
[project.scripts]
iq-tester = "iqtester.__main__:main"
# Include link to Github page on PyPI
[project.urls]
Homepage = "https://github.com/andrewt110216/iq-tester-game"
# Optional dependencies for development
[project.optional-dependencies]
dev = ["pytest", "flake8", "mypy"]
# Pytest configuration
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
# Setting pythonpath allows test files to import from iqtester
pythonpath = ["src"]
# Mypy configuration
[tool.mypy]
python_version = "3.7"
# Could not figure out how to get mypy to discover iqtester from test files
# As a workaround, I will ignore the errors related to missing import imports
ignore_missing_imports = true