Skip to content

Commit 99b0696

Browse files
Merge pull request #110 from mkoeppe/pyproject_toml_metadata
pyproject.toml: Move project metadata here from setup.py
2 parents c9c2bc0 + e8f1b55 commit 99b0696

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,20 @@ requires = ["setuptools",
33
"numpy",
44
"Cython>=3"]
55
build-backend = "setuptools.build_meta"
6+
7+
[project]
8+
name = "python-flint"
9+
description = "Bindings for FLINT and Arb"
10+
version = "0.5.0"
11+
urls = {Homepage = "https://github.com/flintlib/python-flint"}
12+
authors = [
13+
{name = "Fredrik Johansson", email = "[email protected]"},
14+
]
15+
license = {text = "MIT"}
16+
classifiers = [
17+
"Topic :: Scientific/Engineering :: Mathematics",
18+
]
19+
20+
[project.readme]
21+
file = "README.md"
22+
content-type = "text/markdown"

setup.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,8 @@
132132

133133

134134
setup(
135-
name='python-flint',
136135
cmdclass={'build_ext': build_ext},
137136
ext_modules=cythonize(ext_modules, compiler_directives=compiler_directives),
138137
packages=packages,
139138
package_dir={'': 'src'},
140-
description='Bindings for FLINT and Arb',
141-
long_description=open('README.md').read(),
142-
long_description_content_type='text/markdown',
143-
version='0.5.0',
144-
url='https://github.com/flintlib/python-flint',
145-
author='Fredrik Johansson',
146-
author_email='[email protected]',
147-
license='MIT',
148-
classifiers=['Topic :: Scientific/Engineering :: Mathematics'])
149-
139+
)

0 commit comments

Comments
 (0)