update installation to PEP 518

This commit is contained in:
Markus Clauß 2023-02-21 10:31:24 +01:00
parent 663c78d8ff
commit e999fdd591
3 changed files with 48 additions and 55 deletions

48
pyproject.toml Normal file
View File

@ -0,0 +1,48 @@
[project]
name = "pytestpavement"
version = "0.1.0"
authors = [{name="Markus Clauß", email = "markus.clauss@tu-dresden.de"}]
description = "Analysis Pavment Test Data"
requires-python = ">=3.9"
classifiers = [ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
# Pick your license as you wish
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate you support Python 3. These classifiers are *not*
# checked by "pip install". See instead "python_requires" below.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]
[build-system]
requires = [
"setuptools",
"lmfit",
"pandas",
"numpy",
"scipy",
"matplotlib",
"seaborn",
"mongoengine"
]
build-backend = "setuptools.build_meta"
[options.packages.find]
where = ["src"]
namespaces = false

View File

@ -1,49 +0,0 @@
[metadata]
name = pytestpavement
description = Analysis Pavment Test Data
author = Markus Clauß
author_email = markus.clauss@tu-dresden.de
url = https://git.linsenbruch.myds.me/Arbeit/pytest
platforms = any
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
Topic :: Scientific/Engineering
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
keywords =
project_urls =
Source = https://git.linsenbruch.myds.me/Arbeit/pytest
[options]
packages = find:
python_requires = >=3.9
setup_requires = setuptools_scm
install_requires =
lmfit
pandas
numpy
scipy
matplotlib
seaborn
mongoengine
[options.packages.find]
where=src
[rstcheck]
report=warning
ignore_substitutions=release
ignore_roles=scipydoc,numpydoc
ignore_directives=autoclass,autodoc,autofunction,automethod,jupyter-execute,math
[flake8]
ignore = E121,E123,E126,E226,W503,W504,E501,E731

View File

@ -1,6 +0,0 @@
#!/usr/bin/env python
import setuptools
if __name__ == "__main__":
setuptools.setup()