Skip to content

Commit

Permalink
move most project metadata to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
whitews committed Feb 29, 2024
1 parent 0a2fb91 commit d8f8ed3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 27 deletions.
36 changes: 33 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
[build-system]
requires = ['setuptools>=61.0']
build-backend = 'setuptools.build_meta'
[project]
name = "FlowIO"
dynamic = ["version"]
description = 'FlowIO is a Python library for reading / writing Flow Cytometry Standard (FCS) files'
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "Scott White", email = "whitews@gmail.com" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7"
]

[tool.setuptools.dynamic]
version = {attr = "flowio.__version__"}

[project.optional-dependencies]
test = [
"numpy>=1.17",
]

[project.urls]
Homepage = "https://github.com/whitews/flowio"
Documentation = "https://flowio.readthedocs.io/en/latest/"
Repository = "https://github.com/whitews/flowio"
Issues = "https://github.com/whitews/FlowIO/issues"
Changelog = "https://github.com/whitews/FlowIO/releases"

[build-system]
requires = ['setuptools>=61.0']
build-backend = 'setuptools.build_meta'
24 changes: 1 addition & 23 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,8 @@
if not __version__:
raise RuntimeError("__version__ string not found in file %s" % VERSION_FILE)

with open('README.md', 'r') as fh:
long_description = fh.read()

setup(
name='FlowIO',
version=__version__,
packages=['flowio'],
package_dir={'': "src"},
package_data={'': []},
description='FlowIO is a Python library for reading / writing Flow Cytometry Standard (FCS) files',
long_description=long_description,
long_description_content_type='text/markdown',
author='Scott White',
author_email='whitews@gmail.com',
license='BSD',
license_files=('LICENSE',),
url='https://github.com/whitews/flowio',
requires=[],
classifiers=[
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.7'
]
package_data={'': []}
)
2 changes: 1 addition & 1 deletion src/flowio/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
FlowIO version
"""
__version__ = "1.2.2b"
__version__ = "1.2.2b1"

0 comments on commit d8f8ed3

Please sign in to comment.