-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
98 lines (87 loc) · 2.51 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# pyproject.toml
[build-system]
# Specify the build system requirements
# These are the minimum requirements for building the project
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "Rock-Paper-Scissors"
dynamic = ["version"]
# A short description of your project (required)
description = "A machine learning project to play Rock Paper Scissors using different strategies"
# Longer description, can be the same as README content
readme = "README.md"
# Project license
license = {file = "LICENSE"}
# Minimum Python version required
requires-python = ">=3.7"
authors = [
{name = "David Mickelson", email = "davidpmickelson@gmail.com"},
]
keywords = ["rock-paper-scissors", "machine-learning", "ai", "game"]
# Project classifiers (see https://pypi.org/classifiers/)
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
# Dependencies
dependencies = [
"pydantic_settings>=2.0.0",
"pytest>=6.2.5",
"python-dotenv>=0.19.0",
"keras>=2.6.0,<3.0.0",
"tensorflow>=2.6.0,<3.0.0",
"numpy>=1.19.0,<2.0.0"
]
# Optional dependencies
# These can be installed using pip install your-project[dev]
[project.optional-dependencies]
dev = [
"pytest>=6.2.5",
"black>=21.12b0"
"flake8>=4.0.1",
# Add more development dependencies as needed
]
# Entry points for your project (if it's a command-line tool)
[project.scripts]
rps = "RPS:player"
# URLs associated with the project
[project.urls]
Homepage = "https://github.com/dmickelson/rock-paper-scissor"
Repository = "https://github.com/dmickelson/rock-paper-scissor.git"
# Tool configurations
[tool.setuptools]
packages = ["RPS"]
[tool.setuptools_scm]
# Configuration for setuptools_scm (automatic versioning)
write_to = "rps/_version.py"
[tool.flake8]
max-line-length = 88
extend-ignore = ["E203"]
max-complexity = 10
exclude = [
"venv",
"test/data/"
]
[tool.isort]
# Configuration for isort import sorter
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.pytest.ini_options]
# Configuration for pytest
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
]