Exchanged setup.py with pyproject.toml
This commit is contained in:
parent
69715fd2a7
commit
9fec40521e
@ -11,8 +11,6 @@ from . import autosave
|
|||||||
from . import reader
|
from . import reader
|
||||||
from .logging import logger
|
from .logging import logger
|
||||||
|
|
||||||
__version__ = "23.6"
|
|
||||||
|
|
||||||
|
|
||||||
def open(
|
def open(
|
||||||
directory="",
|
directory="",
|
||||||
|
13
pyproject.toml
Normal file
13
pyproject.toml
Normal 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",
|
||||||
|
]
|
24
setup.py
24
setup.py
@ -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"],
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user