Skip to content

Commit

Permalink
Move to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
r4g3baby committed May 27, 2023
1 parent 60aa08a commit 59d82e2
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 39 deletions.
41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "money-lib"
authors = [
{ name = "Rui Pereira", email = "me@ruipereira.dev" },
]
license = { text = "MIT" }
description = "Python 3 money lib with decimal precision and currency exchange support."
dependencies = ["Babel >= 2.5.0"]
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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"
]
dynamic = ["version", "readme"]

[project.optional-dependencies]
Django = ["Django>=3.2"]

[project.urls]
"Homepage" = "https://github.com/r4g3baby/money-lib"
"Bug Tracker" = "https://github.com/r4g3baby/money-lib/issues"

[tool.setuptools.packages.find]
include = ["money*"]

[tool.setuptools.dynamic]
version = { attr = "money.__version__" }
readme = { file = ["README.md"], content-type = "text/markdown" }
39 changes: 0 additions & 39 deletions setup.py

This file was deleted.

0 comments on commit 59d82e2

Please sign in to comment.