Spaces:
Running
Running
fixing pyporject for streamlit cloud deployment
Browse files- pyproject.toml +54 -37
pyproject.toml
CHANGED
|
@@ -1,58 +1,75 @@
|
|
| 1 |
########################################
|
| 2 |
-
#
|
| 3 |
########################################
|
| 4 |
-
[
|
| 5 |
name = "code4change-analysis"
|
| 6 |
version = "0.1.0"
|
| 7 |
description = "Court scheduling simulation + analytics"
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
########################################
|
| 13 |
# PROJECT DEPENDENCIES
|
| 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 |
-
# CLI
|
| 48 |
########################################
|
| 49 |
-
[
|
| 50 |
court-scheduler = "cli.main:app"
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
########################################
|
| 54 |
-
# BUILD SYSTEM
|
| 55 |
########################################
|
| 56 |
[build-system]
|
| 57 |
-
requires = ["
|
| 58 |
-
build-backend = "
|
|
|
|
| 1 |
########################################
|
| 2 |
+
# CORE PROJECT METADATA
|
| 3 |
########################################
|
| 4 |
+
[project]
|
| 5 |
name = "code4change-analysis"
|
| 6 |
version = "0.1.0"
|
| 7 |
description = "Court scheduling simulation + analytics"
|
| 8 |
+
requires-python = ">=3.11"
|
| 9 |
+
authors = [{ name = "Aalekh Roy" }]
|
|
|
|
| 10 |
|
| 11 |
########################################
|
| 12 |
# PROJECT DEPENDENCIES
|
| 13 |
########################################
|
| 14 |
+
dependencies = [
|
| 15 |
+
"pandas>=2.2",
|
| 16 |
+
"polars>=1.30",
|
| 17 |
+
"plotly>=6.0",
|
| 18 |
+
"openpyxl>=3.1",
|
| 19 |
+
"XlsxWriter>=3.2",
|
| 20 |
+
"pyarrow>=17.0",
|
| 21 |
+
"numpy>=2.0",
|
| 22 |
+
"networkx>=3.0",
|
| 23 |
+
"ortools>=9.8",
|
| 24 |
+
"pydantic>=2.0",
|
| 25 |
+
"typer>=0.12",
|
| 26 |
+
"simpy>=4.1",
|
| 27 |
+
"scipy>=1.14",
|
| 28 |
+
"scikit-learn>=1.5",
|
| 29 |
+
"streamlit>=1.28",
|
| 30 |
+
"altair>=5.0",
|
| 31 |
+
"duckdb>=1.4.2",
|
| 32 |
+
]
|
| 33 |
|
| 34 |
########################################
|
| 35 |
+
# DEV DEPENDENCIES
|
| 36 |
########################################
|
| 37 |
+
[project.optional-dependencies]
|
| 38 |
+
dev = [
|
| 39 |
+
"pytest>=8.0",
|
| 40 |
+
"ruff>=0.6",
|
| 41 |
+
"black>=24.0",
|
| 42 |
+
"mypy>=1.11",
|
| 43 |
+
"hypothesis>=6.0",
|
| 44 |
+
"pre-commit>=3.5",
|
| 45 |
+
]
|
| 46 |
|
| 47 |
########################################
|
| 48 |
+
# CLI SCRIPTS
|
| 49 |
########################################
|
| 50 |
+
[project.scripts]
|
| 51 |
court-scheduler = "cli.main:app"
|
| 52 |
|
| 53 |
+
########################################
|
| 54 |
+
# SETUPTOOLS PACKAGE DISCOVERY (FIX)
|
| 55 |
+
########################################
|
| 56 |
+
[tool.setuptools.packages.find]
|
| 57 |
+
include = [
|
| 58 |
+
"cli",
|
| 59 |
+
"eda",
|
| 60 |
+
"scheduler",
|
| 61 |
+
]
|
| 62 |
+
exclude = [
|
| 63 |
+
"Data",
|
| 64 |
+
"configs",
|
| 65 |
+
"outputs",
|
| 66 |
+
"reports",
|
| 67 |
+
"literature",
|
| 68 |
+
]
|
| 69 |
|
| 70 |
########################################
|
| 71 |
+
# BUILD SYSTEM
|
| 72 |
########################################
|
| 73 |
[build-system]
|
| 74 |
+
requires = ["setuptools", "wheel"]
|
| 75 |
+
build-backend = "setuptools.build_meta"
|