diff options
-rw-r--r-- | pyproject.toml | 19 | ||||
-rw-r--r-- | setup.py | 28 |
2 files changed, 19 insertions, 28 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..3fda5a7 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,19 @@ +[build-system] +requires = ["setuptools >= 69.0", "wheel"] +build-backend = "setuptools.build_meta" + + +[project] +name = 'polymatrix' +version = '0.0.1' +authors = [ + { name="Michael Schneeberger", email="michael.schneeberger@fhnw.com" }, +] +description = 'A library to represent and manipulate multivariate polynomials' +readme = "README.md" +requires-python = ">=3.10" + + +[tool.setuptools.packages] +find = {} + diff --git a/setup.py b/setup.py deleted file mode 100644 index 5e09fe8..0000000 --- a/setup.py +++ /dev/null @@ -1,28 +0,0 @@ -from setuptools import setup, find_packages -from os import path - - -here = path.abspath(path.dirname(__file__)) - -# Get the long description from the README file -with open(path.join(here, 'README.md'), encoding='utf-8') as f: - long_description = f.read() - -setup( - name='polymatrix', - version='0.0.1a1', - install_requires=['dataclass-abc', 'numpy', 'scipy', 'sympy'], - description='A library to represent and manipulate multivariate polynomials', - long_description=long_description, - long_description_content_type='text/markdown', - url='https://gitlab.nccr-automation.ch/michael.schneeberger/polysolver', - author='Michael Schneeberger', - author_email='michael.schneeberger@fhnw.com', - classifiers=[ - 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3.10', - ], - keywords=['multivariate polynomial'], - packages=find_packages(include=['polymatrix', 'polymatrix.*']), - python_requires='>=3.10', -)
\ No newline at end of file |