Skip to content

Commit bc2bce1

Browse files
committed
MAINT: Replace requirements.txt and setup.py with pyproject.toml file
1 parent 51cd202 commit bc2bce1

File tree

3 files changed

+55
-67
lines changed

3 files changed

+55
-67
lines changed

pyproject.toml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[tool.poetry]
2+
name = "numpy-financial"
3+
version = "1.1.0"
4+
description = "Simple financial functions"
5+
license = "BSD-3-Clause"
6+
authors = ["Travis E. Oliphant et al."]
7+
maintainers = ["Numpy Financial Developers <numpy-discussion@python.org>"]
8+
readme = "README.md"
9+
homepage = "https://numpy.org/numpy-financial/latest/"
10+
repository = "https://github.com/numpy/numpy-financial"
11+
documentation = "https://numpy.org/numpy-financial/latest/#functions"
12+
classifiers = [
13+
"Development Status :: 5 - Production/Stable",
14+
"Intended Audience :: Developers",
15+
"Intended Audience :: Financial and Insurance Industry",
16+
"License :: OSI Approved :: BSD License",
17+
"Programming Language :: Python",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3 :: Only",
24+
"Topic :: Software Development",
25+
"Topic :: Office/Business :: Financial :: Accounting",
26+
"Topic :: Office/Business :: Financial :: Investment",
27+
"Topic :: Office/Business :: Financial :: Spreadsheet",
28+
"Operating System :: Microsoft :: Windows",
29+
"Operating System :: POSIX",
30+
"Operating System :: Unix",
31+
"Operating System :: MacOS",
32+
]
33+
packages = [{include = "numpy_financial"}]
34+
35+
[tool.poetry.dependencies]
36+
python = "^3.9"
37+
numpy = "^1.23"
38+
39+
40+
[tool.poetry.group.test.dependencies]
41+
pytest = "^7.4"
42+
43+
44+
[tool.poetry.group.docs.dependencies]
45+
sphinx = "^7.0"
46+
numpydoc = "^1.5"
47+
48+
49+
[tool.poetry.group.lint.dependencies]
50+
flake8 = "^6.0"
51+
52+
53+
[build-system]
54+
requires = ["poetry-core"]
55+
build-backend = "poetry.core.masonry.api"

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)