Skip to content

Commit

Permalink
chore: Move to pyproject.toml setup
Browse files Browse the repository at this point in the history
Signed-off-by: Sietze van Buuren <[email protected]>
  • Loading branch information
swvanbuuren committed Aug 17, 2024
1 parent b1a6828 commit d52221e
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.vscode/
.pytest_cache/
doc/build/
**/__pycache__
mlpyqtgraph.egg-info/
build/
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

4 changes: 3 additions & 1 deletion mlpyqtgraph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
from mlpyqtgraph import workers
from mlpyqtgraph import config_options as config


from . import ml_functions
from .ml_functions import *


__version__ = '0.1.0'


GUIAgency = controllers.GUIAgency
GUIAgency.add_agent('figure', windows.FigureWindow)
GUIAgency.add_agent('axis', axes.Axis)
Expand Down
36 changes: 36 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "mlpyqtgraph"
version = "0.1.0"
description = "Matplotlib like plotting with pyqtgraph in python"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Sietze van Buuren", email = "[email protected]" }
]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
urls = { Homepage = "https://github.com/swvanbuuren/mlpyqtgraph" }
dependencies = [
"pyqtgraph",
"pqthreads",
"pyopengl",
]

[tool.setuptools.packages.find]
include = ["mlpyqtgraph", "mlpyqtgraph.*"]

[tool.semantic_release]
version_variables = ["mlpyqtgraph/__init__.py:__version__"]
version_toml = ["pyproject.toml:project.version"]
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

18 changes: 0 additions & 18 deletions setup.py

This file was deleted.

0 comments on commit d52221e

Please sign in to comment.