Skip to content

Commit

Permalink
Merge pull request #110 from mkoeppe/pyproject_toml_metadata
Browse files Browse the repository at this point in the history
pyproject.toml: Move project metadata here from setup.py
  • Loading branch information
oscarbenjamin committed Jan 25, 2024
2 parents c9c2bc0 + e8f1b55 commit 99b0696
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,20 @@ requires = ["setuptools",
"numpy",
"Cython>=3"]
build-backend = "setuptools.build_meta"

[project]
name = "python-flint"
description = "Bindings for FLINT and Arb"
version = "0.5.0"
urls = {Homepage = "https://github.com/flintlib/python-flint"}
authors = [
{name = "Fredrik Johansson", email = "fredrik.johansson@gmail.com"},
]
license = {text = "MIT"}
classifiers = [
"Topic :: Scientific/Engineering :: Mathematics",
]

[project.readme]
file = "README.md"
content-type = "text/markdown"
12 changes: 1 addition & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,8 @@


setup(
name='python-flint',
cmdclass={'build_ext': build_ext},
ext_modules=cythonize(ext_modules, compiler_directives=compiler_directives),
packages=packages,
package_dir={'': 'src'},
description='Bindings for FLINT and Arb',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
version='0.5.0',
url='https://github.com/flintlib/python-flint',
author='Fredrik Johansson',
author_email='fredrik.johansson@gmail.com',
license='MIT',
classifiers=['Topic :: Scientific/Engineering :: Mathematics'])

)

0 comments on commit 99b0696

Please sign in to comment.