Skip to content

Commit

Permalink
move setup.py to pyproject.toml for dynamic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
vgp57214_gsk committed Feb 12, 2024
1 parent 93fe06f commit 58ce3bf
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 82 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ include AUTHORS.txt
include README.rst
include requirements.txt
include pymzml/utils/Moby_Dick_indexed.gz
include pyproject.toml

prune docs/build/html/.doctrees/
prune compare
Expand Down
19 changes: 0 additions & 19 deletions build.command

This file was deleted.

72 changes: 72 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[dev-dependencies]
black = { version = "^18.3-alpha.0", python = "^3.7" }

[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.2"
]
build-backend = "setuptools.build_meta"

[project]
name = "pymzml"
readme = "README.rst"
description = 'python module for high-throughput mzML parsing'
authors = [
{name = "M.Koesters"},
{name = "J.Leufken"},
{name = "S.Schulze"},
{name = "K.Sugimoto"},
{name = "R.Zahedi"},
{name = "M. Hippler"},
{name = "C.Fufezan", email = '[email protected]'},
]
license = {text = 'The MIT license'}
dynamic = ["version"]
urls = { Source = "http://pymzml.github.com" }
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: POSIX :: SunOS/Solaris',
'Operating System :: Unix',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
]
dependencies = [
'numpy >= 1.8.0',
'regex',
]
[project.optional-dependencies]
full = [
'plotly<5.0',
'pynumpress>=0.0.4',
'ms_deisotope',
]
plot = [
'plotly<5.0'
]
pynumpress = [
'pynumpress>=0.0.4'
]
deconvolution = [
'ms_deisotope==0.0.14'
]

[tool.setuptools]
include-package-data = true

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

[tool.setuptools_scm]
write_to = "pymzml/_version.py"
local_scheme = "no-local-version"
63 changes: 0 additions & 63 deletions setup.py

This file was deleted.

0 comments on commit 58ce3bf

Please sign in to comment.