Skip to content

Commit

Permalink
Use pyproject.toml instead of setup.py and setup.cfg; remove non-exis…
Browse files Browse the repository at this point in the history
…ting files from MANIFEST.in
  • Loading branch information
RalfG committed Feb 16, 2024
1 parent 7de2dd7 commit b67a88a
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 68 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include deeplc/expasy/*
include deeplc/mod_to_smiles/*
include deeplc/mods/*
include deeplc/package_data/**/*
include deeplc/unimod/*
Expand Down
65 changes: 65 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[project]
name = "deeplc"
version = "2.2.27"
description = "DeepLC: Retention time prediction for (modified) peptides using Deep Learning."
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Robbin Bouwmeester", email = "[email protected]" },
{ name = "Niels Hulstaert" },
{ name = "Arthur Declercq" },
{ name = "Ralf Gabriels" },
{ name = "Lennart Martens" },
{ name = "Sven Degroeve" },
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Development Status :: 5 - Production/Stable",
]
requires-python = ">=3.7"
keywords = [
"DeepLC",
"Proteomics",
"deep learning",
"peptides",
"retention time",
"prediction",
]

dependencies = [
"tensorflow>=2.2,<2.13.0",
"numpy>=1.17,<2",
"pandas>=0.25,<2",
"h5py>=2.10.0,<4",
"pygam>=0.8.0,<1",
"deeplcretrainer>=0.1,<1",
"psm_utils>=0.2.3,<1",
"hdf5plugin>=4.1.1",
]

[project.optional-dependencies]
test = ["pytest", "matplotlib>=3,<4"]
gui = ["gooey>=1.0"]
plot = ["plotly>=5"]
deepcallc = ["scikit-learn<2,>=0.24.0"]

[project.scripts]
deeplc = "deeplc.__main__:main"
deeplc-gui = "deeplc.gui:start_gui"

[project.urls]
GitHub = "https://github.com/compomics/deeplc"
PyPi = "https://pypi.org/project/deeplc/"
CompOmics = "https://www.compomics.com"

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

[tool.setuptools]
packages = ["deeplc"]
include-package-data = true
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

63 changes: 0 additions & 63 deletions setup.py

This file was deleted.

0 comments on commit b67a88a

Please sign in to comment.