Skip to content

Commit 0af6328

Browse files
committed
Implementation of pyproject.toml, add version info to __init__.py, remove unneeded files and directories
1 parent 03d761f commit 0af6328

11 files changed

Lines changed: 82 additions & 2141 deletions

File tree

CodeEntropy/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
"""
2-
Empty init file
2+
CodeEntropy
3+
4+
CodeEntropy tool with POSEIDON code integrated to form a complete and generally applicable
5+
set of tools for computing entropy of macromolecular systems from the forces sampled in a
6+
MD simulation.
37
"""
8+
9+
__version__ = "0.3.6"

MANIFEST.in

Lines changed: 0 additions & 9 deletions
This file was deleted.

devtools/README.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

devtools/conda-envs/test_env.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

devtools/legacy-miniconda-setup/before_install.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

devtools/scripts/create_conda_env.py

Lines changed: 0 additions & 95 deletions
This file was deleted.

pyproject.toml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
[build-system]
2+
# Build the package with [flit](https://flit.readthedocs.io)
3+
requires = ["flit_core >=3.4,<4"]
4+
build-backend = "flit_core.buildapi"
5+
6+
[project]
7+
# See https://www.python.org/dev/peps/pep-0621/
8+
name = "CodeEntropy"
9+
dynamic = ["version"]
10+
description = "CodeEntropy tool with POSEIDON code integrated to form a complete and generally applicable set of tools for computing entropy of macromolecular systems from the forces sampled in a MD simulation."
11+
authors = [
12+
{name = "Arghya 'Argo' Chakravorty", email = "arghyac@umich.edu"},
13+
{name = "Jas Kalayan", email = "jas.kalayan@stfc.ac.uk"},
14+
{name = "Donald Chung-HK", email = "donald.chung@stfc.ac.uk"},
15+
{name = "Sarah Fegan", email = "sarah.fegan@stfc.ac.uk"},
16+
{name = "Ioana Papa", email = "iapapa1@SHEFFIELD.AC.UK"},
17+
{name = "Harry Swift", email = "harry.swift@stfc.ac.uk"}
18+
]
19+
maintainers = [
20+
{name = "Sarah Fegan", email = "sarah.fegan@stfc.ac.uk"},
21+
{name = "Harry Swift", email = "harry.swift@stfc.ac.uk"}
22+
]
23+
readme = "README.md"
24+
license = { file = "LICENSE" }
25+
classifiers = [
26+
"Programming Language :: Python",
27+
"Intended Audience :: Science/Research",
28+
"License :: OSI Approved :: MIT License",
29+
"Natural Language :: English",
30+
"Development Status :: 4 - Beta"
31+
]
32+
keywords = ["entropy", "macromolecular systems", "MD simulation"]
33+
requires-python = ">=3.8"
34+
dependencies = [
35+
"numpy==1.26.4",
36+
"bitarray==2.5.0",
37+
"mdanalysis==2.7.0",
38+
"pandas==2.2.3",
39+
"psutil==5.9.5",
40+
"dill==0.3.5.1",
41+
"pathos==0.2.9"
42+
]
43+
44+
[project.optional-dependencies]
45+
testing = [
46+
"pytest==8.2.2",
47+
"pytest-cov==5.0.0",
48+
"pytest-sugar==1.0.0"
49+
]
50+
51+
[project.urls]
52+
Source = "https://github.com/CCPBioSim/CodeEntropy"
53+
54+
pre-commit = [
55+
"pre-commit==3.7.1",
56+
"pylint==3.2.5"
57+
]
58+
docs = [
59+
"sphinx",
60+
"sphinx_rtd_theme",
61+
"sphinxcontrib-contentui",
62+
"sphinxcontrib-details-directive",
63+
"sphinx_copybutton",
64+
"furo",
65+
"markupsafe<2.1"
66+
]
67+
68+
# [project.scripts]
69+
# CodeEntropy = "main_mcc:main"
70+
71+
# [project.scripts.entry-points]
72+
73+
[tool.flit.module]
74+
name = "CodeEntropy"
75+

setup.cfg

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)