Skip to content

Commit

Permalink
build: move requirements to .txt
Browse files Browse the repository at this point in the history
  • Loading branch information
siemdejong committed Oct 1, 2024
1 parent 02258d8 commit af89150
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
16 changes: 5 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@ authors = [
description = "Create your own Shit Happens playing cards!"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"matplotlib",
"pandas",
"openpyxl", # For pandas to open excel files.
"PyPDF2",
"tqdm",
"babel",
]
dynamic = ["dependencies", "optional-dependencies"]
license = {file = "LICENSE"}
keywords = ["shit happens", "card-game"]
classifiers = [
Expand All @@ -35,9 +28,6 @@ classifiers = [
"Typing :: Typed",
]

[project.optional-dependencies]
ui = ["streamlit"]

[project.urls]
"Homepage" = "https://github.com/siemdejong/shit-happens"
"Bug Tracker" = "https://github.com/siemdejong/shit-happens/issues"
Expand All @@ -56,6 +46,10 @@ namespaces = false
[tool.setuptools.package-data]
shithappens = ["opensans/fonts/ttf/*.ttf", "images/*.png", "locales/*/LC_MESSAGES/*.mo"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
optional-dependencies = {dev = { file = ["requirements-dev.txt"] }}

[tool.ruff]
extend-exclude = ["opensans"]

Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruff
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
matplotlib
pandas
openpyxl
PyPDF2
tqdm
babel

0 comments on commit af89150

Please sign in to comment.