Skip to content

Commit

Permalink
Switch to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Sep 5, 2024
1 parent 507b826 commit 5ee9604
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 26 deletions.
41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[project]
name = "lazyarray"
version = "0.6.0.dev"
description = "A Python package that provides a lazily-evaluated numerical array class, larray, based on and compatible with NumPy arrays."
readme = "README.rst"
requires-python = ">=3.8"
license = {text = "Modified BSD"}
authors = [
{name = "Andrew P. Davison", email = "andrew.davison@cnrs.fr"}
]
maintainers = [
{name = "Andrew P. Davison", email = "andrew.davison@cnrs.fr"}
]
keywords = ["lazy evaluation, array"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering"
]
dependencies = [
"numpy>=1.20.3"
]

[project.optional-dependencies]
sparse = ["scipy>=1.7.3"]
dev = ["sphinx", "pytest", "pytest-cov", "flake8", "wheel"]

[project.urls]
homepage = "https://github.com/NeuralEnsemble/lazyarray/"
documentation = "https://lazyarray.readthedocs.io/"
repository = "https://github.com/NeuralEnsemble/lazyarray/"
changelog = "https://github.com/NeuralEnsemble/lazyarray/blob/master/changelog.txt"
download = "http://pypi.python.org/pypi/lazyarray"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
29 changes: 3 additions & 26 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
# -*- coding: utf-8 -*-
import setuptools

from distutils.core import setup

setup(
name='lazyarray',
version='0.5.3.dev',
py_modules=['lazyarray'],
license='Modified BSD',
author="Andrew P. Davison",
author_email="andrew.davison@cnrs.fr",
url="http://github.com/NeuralEnsemble/lazyarray/",
description="a Python package that provides a lazily-evaluated numerical array class, larray, based on and compatible with NumPy arrays.",
long_description=open('README.rst').read(),
install_requires=[
"numpy >= 1.13",
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
]
)
if __name__ == "__main__":
setuptools.setup()

0 comments on commit 5ee9604

Please sign in to comment.