-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove manifest.in and setup.py--both of these are replaced by pyproject.toml * Separate dependencies from dev dependencies * I've used the ^ to specify all dependencies, allowing for semver- compatible upgrades * Change author from Parker to FPF * Add Harris and Erik as maintainers * Add development instructions to readme * Move all sample files to sample_project/ directory
- Loading branch information
1 parent
2679fd9
commit 0eaaa27
Showing
9 changed files
with
895 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
config.yaml | ||
rssfeeds.json | ||
matchwords.txt | ||
__pycache__/* | ||
*.db | ||
ttnconfig/* | ||
*.egg-info | ||
*.egg-info | ||
sample_project/rssfeeds.json | ||
sample_project/matchlist.txt | ||
sample_project/matchlist_case_sensitive.txt | ||
sample_project/config.yaml | ||
sample_project/blocklist.py |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,41 @@ | ||
[tool.black] | ||
line-length = 100 | ||
target-version = ['py39'] | ||
target-version = ['py39'] | ||
|
||
[tool.poetry] | ||
name = "trackthenews" | ||
version = "0.2" | ||
description = "Monitor RSS feeds for keywords and act on matching results. A special project of the Freedom of the Press Foundation." | ||
authors = ["Freedom of the Press Foundation <[email protected]>"] | ||
maintainers = [ | ||
"Harris Lapiroff <[email protected]>", | ||
"Erik Möller <[email protected]>", | ||
] | ||
license = "MIT" | ||
readme = "README.md" | ||
repository = "https://github.com/freedomofpress/trackthenews" | ||
include = ["trackthenews/fonts/*"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
feedparser = "^6.0" | ||
future = "^0.17.1" | ||
html2text = "2018.1.9" | ||
Pillow = "^8.4" | ||
pyaml = "^18.11.0" | ||
readability-lxml = "^0.8.1" | ||
requests = "^2.31.0" | ||
tweepy = "^4.14.0" | ||
"Mastodon.py" = "^1.8.1" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
black = "^23.7.0" | ||
flake8 = "^6.0.0" | ||
isort = "^5.12.0" | ||
|
||
[tool.poetry.scripts] | ||
trackthenews = 'trackthenews:main' | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.