From caadb4bbad6fbfeccaa73012834c5ddbde286f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Clau=C3=9F?= Date: Tue, 22 Nov 2022 12:28:10 +0100 Subject: [PATCH] Setup skript angepasst --- setup.cfg | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ setup.py | 21 +++------------------ 2 files changed, 52 insertions(+), 18 deletions(-) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..aad48eb --- /dev/null +++ b/setup.cfg @@ -0,0 +1,49 @@ +[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 \ No newline at end of file diff --git a/setup.py b/setup.py index 4aa5618..bac24a4 100644 --- a/setup.py +++ b/setup.py @@ -1,21 +1,6 @@ #!/usr/bin/env python -from setuptools import find_packages, setup +import setuptools -setup( - name='PyTestPavement', - version='0.1', - author='Markus Clauß', - author_email='markus.clauss@tu-dresden.de', - install_requires=[ - 'lmfit', - 'pandas', - 'numpy', - 'scipy', - 'matplotlib', #remove later - 'seaborn', #remove later - 'mongoengine', - ], - packages=find_packages(where="src"), - package_dir={"": "src"}, - include_package_data=True) +if __name__ == "__main__": + setuptools.setup()