Spaces:
Sleeping
Sleeping
Update pyproject.toml
Browse files- pyproject.toml +4 -1
pyproject.toml
CHANGED
|
@@ -17,6 +17,9 @@ dev = [
|
|
| 17 |
"pytest-cov>=4.0.0",
|
| 18 |
]
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
[tool.setuptools]
|
| 21 |
include-package-data = true
|
| 22 |
packages = ["server"]
|
|
@@ -25,4 +28,4 @@ packages = ["server"]
|
|
| 25 |
testpaths = ["tests"]
|
| 26 |
python_files = "test_*.py"
|
| 27 |
python_classes = "Test*"
|
| 28 |
-
python_functions = "test_*"
|
|
|
|
| 17 |
"pytest-cov>=4.0.0",
|
| 18 |
]
|
| 19 |
|
| 20 |
+
[project.scripts]
|
| 21 |
+
server = "server.app:main"
|
| 22 |
+
|
| 23 |
[tool.setuptools]
|
| 24 |
include-package-data = true
|
| 25 |
packages = ["server"]
|
|
|
|
| 28 |
testpaths = ["tests"]
|
| 29 |
python_files = "test_*.py"
|
| 30 |
python_classes = "Test*"
|
| 31 |
+
python_functions = "test_*"
|