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

Switch to flit for packaging #221

Merged
merged 1 commit into from
Nov 14, 2023
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
3 changes: 2 additions & 1 deletion pslab/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Pocket Science Lab by FOSSASIA."""
from pslab.instrument.logic_analyzer import LogicAnalyzer
from pslab.instrument.multimeter import Multimeter
from pslab.instrument.oscilloscope import Oscilloscope
Expand All @@ -15,4 +16,4 @@
"ScienceLab",
)

__version__ = "2.5.0"
__version__ = "2.6.0b0"
29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "pslab"
authors = [{name = "FOSSASIA PSLab Developers", email = "[email protected]"}]
dynamic = ["version", "description"]
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
dependencies = [
"pyserial",
"numpy",
"scipy",
"mcbootflash",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
]

[project.urls]
Home = "https://pslab.io/"

[project.scripts]
pslab = "pslab.cli:cmdline"
Empty file removed setup.cfg
Empty file.
43 changes: 0 additions & 43 deletions setup.py

This file was deleted.