Skip to content

Commit

Permalink
Migrate to poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
kannibalox committed Feb 27, 2022
1 parent 9d0effe commit 6e983ec
Show file tree
Hide file tree
Showing 5 changed files with 361 additions and 30 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ cookies.txt
_build
*.egg-info/
*.egg
dist/
319 changes: 319 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[tool.poetry]
name = "PTPAPI"
version = "0.6"
description = "A small API for a mildly popular movie site"
authors = ["kannibalox <[email protected]>"]
repository = "https://github.com/kannibalox/PTPAPI"
packages = [
{ include = "ptpapi", from = "src" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Utilities",
]
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.7,<4.0"
guessit = "^3.4.3"
pyrosimple = "^1.1.0"
requests = "^2.27.1"
Tempita = "^0.5.2"
beautifulsoup4 = "^4.10.0"
"bencode.py" = "^4.0.0"
humanize = "^4.0.0"

[tool.poetry.scripts]
ptp = "ptpapi.scripts.ptp:main"
"ptp-reseed" = "ptpapi.scripts.ptp_reseed:main"
"ptp-reseed-machine" = "ptpapi.scripts.ptp_reseed_machine:main"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

28 changes: 0 additions & 28 deletions setup.py

This file was deleted.

0 comments on commit 6e983ec

Please sign in to comment.