Skip to content

Commit b894929

Browse files
committed
add files to make the project as package
1 parent fd0b930 commit b894929

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

pyproject.toml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
# [tool.pytest.ini_options]
6+
# testpaths = [
7+
# "tests"
8+
# ]

requirements.txt

Whitespace-only changes.

requirements_dev.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
flake8==4.0.1
2+
tox==3.25.0
3+
pytest==7.1.2
4+
mypy==0.950

setup.cfg

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[metadata]
2+
name = connect4
3+
description = play connect 4
4+
author = airo.pi_
5+
license = MIT
6+
license_file = LICENSE
7+
version = 0.0.1
8+
9+
[options]
10+
packages =
11+
connect4
12+
python_requires = >=3.10
13+
package_dir =
14+
=src
15+
16+
[options.extras_require]
17+
testing =
18+
flake8>=4.0.1
19+
tox>=3.25.0
20+
pytest>=7.1.2
21+
mypy>=0.950
22+
23+
[options.package_data]
24+
connect4 = py.typed
25+
26+
[flake8]
27+
max-line-length = 160

setup.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from setuptools import setup
2+
3+
if __name__ == "__main__":
4+
setup()

0 commit comments

Comments
 (0)