File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " waybar-crypto"
3
- version = " v1.5.4"
4
3
description = " A Waybar module for displaying cryptocurrency market information from CoinMarketCap."
5
4
authors = [{ name = " Ross" , email = " git@ross.ch" }]
6
5
license = { file = " LICENSE.md" }
7
6
requires-python = " >=3.8"
8
- dependencies = [" requests" ]
7
+ dependencies = [" requests" , " setuptools" ]
8
+ dynamic = [" version" , " readme" ]
9
+
10
+ [project .scripts ]
11
+ waybar-crypto = " waybar_crypto:main"
9
12
10
13
[project .optional-dependencies ]
11
14
dev = [" ruff" , " bandit" , " pre-commit>=3" ]
12
15
tests = [" pytest>=8" , " pytest-cov>=5" ]
13
16
17
+ [tool .setuptools .dynamic ]
18
+ version = { attr = " waybar_crypto.VERSION" }
19
+ readme = { file = [" README.md" ] }
20
+
14
21
[tool .ruff ]
15
22
line-length = 100
16
23
Original file line number Diff line number Diff line change 8
8
import configparser
9
9
import argparse
10
10
11
+ VERSION = "1.5.5"
12
+
11
13
API_URL = "https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest"
12
14
API_KEY_ENV = "COINMARKETCAP_API_KEY"
13
15
You can’t perform that action at this time.
0 commit comments