Skip to content

Commit

Permalink
Remove setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rexzhang committed Nov 21, 2023
1 parent 70eea6f commit 0ee0499
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 309 deletions.
21 changes: 0 additions & 21 deletions pypi_package_project/__init__.py

This file was deleted.

23 changes: 0 additions & 23 deletions pypi_package_project/__main__.py

This file was deleted.

58 changes: 0 additions & 58 deletions pypi_package_project/cli.py

This file was deleted.

6 changes: 0 additions & 6 deletions pypi_package_project/core.py

This file was deleted.

51 changes: 49 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,59 @@
[build-system]
# These are the assumed default build requirements from pip:
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
requires = ["setuptools>=40.8.0", "wheel"]
requires = [
"setuptools>=40.8.0",
"wheel",
]
build-backend = "setuptools.build_meta"

[project]
name = "PYTHON_PROJECT_TEMPLATE"
description = "__DESCRIPTION__"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "__LICENCE__" }
authors = [
{ name = "__AUTHOR__" },
{ email = "__AUTHOR@EMAIL__" },
]
keywords = [
"webdav",
"asgi",
"asyncio",
]
classifiers = [
"Development Status :: 1 - Alpha",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]

dynamic = [
"version",
"dependencies",
"optional-dependencies",
]

[project.urls]
homepage = "https://__PROJECT_URL__"
documentation = "https://__PROJECT_URL__"
repository = "https://__PROJECT_URL__"
changelog = "https://__PROJECT_URL__/CHANGELOG.md"

[project.scripts]
python-project = "python_project.cli:main"

[tool.setuptools.dynamic]
version = { attr = "python_project.__version__" }
dependencies = { file = "requirements.d/basic.txt" }

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

[tool.pytest.ini_options]
pythonpath = "."
addopts = "--cov=pypi_package_project --cov-report html --ignore=tests/by_hand"
addopts = "--cov=python_project --cov-report html --ignore=tests/by_hand"
asyncio_mode = "auto"

[tool.isort]
Expand Down
199 changes: 0 additions & 199 deletions setup.py

This file was deleted.

0 comments on commit 0ee0499

Please sign in to comment.