diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index e787646..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,10 +0,0 @@ -# file GENERATED by distutils, do NOT edit -README.txt -setup.cfg -setup.py -tinynumpy/__init__.py -tinynumpy/benchmark.py -tinynumpy/test_tinyndarray.py -tinynumpy/test_tinynumpy.py -tinynumpy/tinylinalg.py -tinynumpy/tinynumpy.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f29bbd0 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,26 @@ +[build-system] +build-backend = "setuptools.build_meta" +requires = [ + "setuptools >= 61.0", +] + +[project] +name = "tinynumpy" +version = "1.2.0" + +authors = [ + { name = "Wade Brainerd", email = "wadetb@gmail.com" }, + { name = "Almar Klein" }, +] +classifiers = [] +description = "A lightweight, pure Python, numpy compliant ndarray class" +keywords = ["Science", "Research", "Engineering", "Software Development"] +license = { text = "MIT" } +readme = "README.md" + +[project.urls] +Repository = "https://github.com/wadetb/tinynumpy" + +[tool.setuptools] +include-package-data = false +packages = { find = { namespaces = false, include = ["tinynumpy*"] } } diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index b88034e..0000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[metadata] -description-file = README.md diff --git a/setup.py b/setup.py index 75c9d5a..4cdc655 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,4 @@ -from distutils.core import setup +from setuptools import setup + setup( - name='tinynumpy', - packages=['tinynumpy'], # this must be the same as the name above - version='1.2.0', - description='A lightweight, pure Python, numpy compliant ndarray class', - author='Wade Brainerd, Almar Klein', - author_email='wadetb@gmail.com', - url='https://github.com/wadetb/tinynumpy', # use the URL to the github repo - # download_url = 'https://github.com/peterldowns/mypackage/tarball/0.1', - keywords=['Science', 'Research', 'Engineering', 'Software Development'], - classifiers=[], )