-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
93 lines (83 loc) · 2.66 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
from pathlib import Path
from setuptools import find_packages, setup
def _get_version() -> str:
"""Read martignac/VERSION.txt and return its contents."""
path = Path("martignac").resolve()
version_file = path / "VERSION.txt"
return version_file.read_text().strip()
version = _get_version()
with open("README.md", encoding="utf-8") as readme_file:
readme = readme_file.read()
requirements = [
"signac>=2.0.0",
"signac-flow>=0.25.1",
"numpy>=1.25.0,<2.0.0",
"regex",
"pymbar>=4.0.1",
"jupyter>=1.0.0",
"jupyterlab",
"pandas>=2.0.2",
"h5py",
"signac-dashboard",
"alchemlyb",
"networkx",
"confuse",
"mdanalysis>=2.6.1",
"python-decouple",
"marshmallow-dataclass>=8.6.0",
"cachetools>=5.3.2",
"isort>=5.8.0",
"insane @ git+https://github.com/Tsjerk/Insane.git@f382b447d6dd6c3a89f884347cceaede02bf0166",
"anyio>=3.0.0,<4.0",
"GromacsWrapper",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"requests_toolbelt",
]
setup(
name="martignac",
version=version,
description="Computational workflow for Martini coarse-grained simulations",
long_description=readme,
long_description_content_type="text/markdown",
author="Tristan Bereau",
author_email="[email protected]",
url="https://github.com/tbereau/martignac",
project_urls={
"Documentation": "https://github.com/tbereau/martignac",
"Issues": "https://github.com/tbereau/martignac/-/issues",
},
packages=find_packages(),
package_dir={"martignac": "martignac"},
entry_points={"console_scripts": ["martignac = martignac.__main__:main"]},
include_package_data=True,
python_requires=">=3.9",
install_requires=requirements,
license="BSD",
zip_safe=False,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
"Topic :: Software Development",
],
keywords=[
"martignac",
"Python",
"Martini",
"Coarse-grained simulations",
"CG simulations",
],
)