Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Move to the build system flit, resolve #3
Browse files Browse the repository at this point in the history
  • Loading branch information
m4reko committed Jul 4, 2022
1 parent 8e9e378 commit 4bc3b1c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
28 changes: 26 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "g3pylib"
authors = [{name = "Markus Wesslén", email = "[email protected]"}, {name = "Oskar Söderberg", email = "[email protected]"}]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Typing :: Typed",
"Private :: Do Not Upload"
]
requires-python = ">=3.10"
dependencies = [
"websockets ~= 10.3",
"zeroconf ~= 0.38.7",
]
dynamic = ["version", "description"]

[project.urls]
Home = "https://github.com/tobiipro/g3pylib"

[tool.flit.module]
name = "glasses3"

[tool.pyright]
include = ["src", "examples", "tests"]
Expand Down
24 changes: 0 additions & 24 deletions setup.cfg

This file was deleted.

3 changes: 3 additions & 0 deletions src/glasses3/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
"""This is the g3pylib package root."""
from __future__ import annotations

__version__ = "0.1.0-alpha"

import logging
from contextlib import asynccontextmanager
from typing import AsyncIterator, Optional, cast
Expand Down

0 comments on commit 4bc3b1c

Please sign in to comment.