Skip to content

Commit

Permalink
Switch to flit for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
bessman committed Nov 14, 2023
1 parent b310d85 commit ddf2566
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 44 deletions.
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 = "pslab-fossasia@googlegroups.com"}]
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.

0 comments on commit ddf2566

Please sign in to comment.