Skip to content

Commit

Permalink
Merge pull request #180 from hjkgrp/modern_packaging
Browse files Browse the repository at this point in the history
Modern packaging
  • Loading branch information
ralf-meyer authored Oct 13, 2023
2 parents 62526bd + cac1b88 commit d69be36
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 42 deletions.
3 changes: 0 additions & 3 deletions setup.cfg → .flake8
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[aliases]
test=pytest

[flake8]
max-complexity = 15
max-line-length = 127
15 changes: 0 additions & 15 deletions MANIFEST.in

This file was deleted.

43 changes: 43 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[project]
name = "molSimplify"
version = "v1.7.3"
license = {file = "LICENSE"}
readme = "README.md"
dependencies = [
"numpy",
"scipy",
"scikit-learn",
"keras",
"tensorflow",
"pyyaml",
]

[project.optional-dependencies]
dev = ["pre-commit"]

[project.urls]
Homepage = "https://molsimplify.mit.edu/"
Documentation = "http://hjkgrp.mit.edu/molsimplify-tutorials/"
Repository = "https://github.com/hjkgrp/molSimplify"

[project.scripts]
molsimplify = "molSimplify.__main__:main"
molscontrol = "molSimplify.molscontrol.molscontrol:main"
jobmanager = "molSimplify.job_manager.resub:main"

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
where = ["."]

[tool.setuptools.package-data]
"molSimplify.Data" = ["*.dat"]
"molSimplify.Bind" = ["*.dat"]
"molSimplify.Ligands" = ["*.dict", "*.mol", "*.xyz", "*.smi"]
"molSimplify.icons" = ["*.png"]
"molSimplify.python_nn" = ["*.csv"]
"molSimplify.python_krr" = ["*.csv"]
"molSimplify.tf_nn" = ["*/*"]
"molSimplify.molscontrol" = ["*/*"]
24 changes: 0 additions & 24 deletions setup.py

This file was deleted.

0 comments on commit d69be36

Please sign in to comment.