Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Use pyproject.toml #48

Merged
merged 3 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.10.0"]

[project]
name = "papis-zotero"
description = "Interact with Zotero using papis"
version = "0.1.2"
authors = [{ name = "Alejandro Gallo", email = "[email protected]" }]
maintainers = [{ name = "Alejandro Gallo", email = "[email protected]" }]
readme = "README.rst"
license = { text = "GPLv3" }
classifiers = [
"Environment :: Console :: Curses",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Utilities",
]
keywords = ["bibtex", "biliography", "cli", "management", "papis", "zotero"]
dependencies = ["papis==0.13"]

[project.urls]
Repository = "https://github.com/papis/papis-zotero"

[project.optional-dependencies]
"develop" = [
"flake8",
"flake8-bugbear",
"flake8-quotes",
"Flake8-pyproject",
"mypy>=0.7",
"pep8-naming",
"pytest",
"pytest-cov",
"python-coveralls",
"types-PyYAML",
"types-tqdm",
]

[project.entry-points."papis.command"]
"zotero" = "papis_zotero:main"

[tool.flake8]
select = ["B", "D", "E", "F", "N", "Q", "W"]
extend-ignore = ["B019", "E123", "N818", "W503"]
max-line-length = 88
inline-quotes = "double"
multiline-quotes = "double"

[tool.pytest.ini_options]
norecursedirs = ".git doc build dist"
python_files = "*.py"
markers = ["config_setup: setup for tmp_config",
"library_setup: setup for tmp_library",
]

[tool.mypy]
strict = true
show_column_numbers = true
hide_error_codes = false
pretty = true
warn_unused_ignores = false
24 changes: 0 additions & 24 deletions setup.cfg

This file was deleted.

68 changes: 0 additions & 68 deletions setup.py

This file was deleted.

Loading