Exchanged setup.py with pyproject.toml

This commit is contained in:
Sebastian Kloth 2023-07-24 11:49:48 +02:00
parent 69715fd2a7
commit 9fec40521e
3 changed files with 13 additions and 26 deletions

View File

@ -11,8 +11,6 @@ from . import autosave
from . import reader
from .logging import logger
__version__ = "23.6"
def open(
directory="",

13
pyproject.toml Normal file
View File

@ -0,0 +1,13 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "mdevaluate"
version = "23.7"
dependencies = [
"mdanalysis",
"pandas",
"dask",
"pathos",
]

View File

@ -1,24 +0,0 @@
from setuptools import setup
def get_version(module):
version = ""
with open(module) as f:
for line in f:
if "__version__" in line:
version = line.split("=")[-1].strip("' \n\t")
break
return version
setup(
name="mdevaluate",
description="Collection of python utilities for md simulations",
author_email="sebastian.kloth@pkm.tu-darmstadt.de",
packages=[
"mdevaluate",
],
entry_points={"console_scripts": ["index-xtc = mdevaluate.cli:run"]},
version="23.6",
requires=["mdanalysis", "pandas", "dask", "pathos"],
)