Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to pyproject,toml Issue #34 #36

Merged
merged 5 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ _version_save.py
*.bib.bak

.idea

pyjibe/_version.py
197 changes: 0 additions & 197 deletions pyjibe/_version.py

This file was deleted.

1 change: 0 additions & 1 deletion pyjibe/head/update.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import json
import os
import struct
import sys
import traceback
import urllib.request
Expand Down
51 changes: 51 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[build-system]
# Defined by PEP 518:
requires = [
# for version management
"setuptools>=45",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"

[project]
name = "pyjibe"
authors = [
# In alphabetical order.
{name = "Paul Müller"},
]
maintainers = [
{name = "Paul Müller", email="[email protected]"},
]
description = "Graphical user interface for Bio-AFM analysis"
readme = "README.rst"
requires-python = ">=3.10, <4"
keywords = ["atomic force microscopy", "biomechanics"]
classifiers = [
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Visualization',
'Intended Audience :: Science/Research'
]
license = {text = "GPL version 3.0 or later"}
dependencies = [
"afmformats>=0.18.0",
"nanite>=4.1.1",
# https://github.com/AFM-analysis/PyJibe/issues/32
"matplotlib>=3,<3.7.5", # NavigationToolbar2QT mod
"packaging", # for version checking during update
"pyqt5",
]
dynamic = ["version"]

[project.scripts]
pyjibe = "pyjibe.__main__:main"

[project.urls]
source = "https://github.com/AFM-analysis/PyJibe"
tracker = "https://github.com/AFM-analysis/PyJibe/Issues"
documentation = "https://pyjibe.readthedocs.io/en/stable/"
changelog = "https://pyjibe.readthedocs.io/en/stable/sec_changelog.html"

[tool.setuptools_scm]
write_to = "pyjibe/_version.py"
version_scheme = "post-release"
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

44 changes: 0 additions & 44 deletions setup.py

This file was deleted.