Skip to content

Commit e10747f

Browse files
committed
build with flit instead ot setup.py
1 parent b153c82 commit e10747f

6 files changed

Lines changed: 45 additions & 61 deletions

File tree

HISTORY.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
2024-05-11b : v0.13.1 'Setup me down !'
5+
---------------------------------------
6+
7+
* see https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details
8+
9+
410
2024-05-11a : v0.13.0 'PEP 667 me up !'
511
---------------------------------------
612

pyproject.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[build-system] # flit_core seems the step after 'setuptools','wheel','build','twine' (see https://github.com/pypa/build/issues/394)
2+
requires = ["flit_core"]
3+
build-backend = "flit_core.buildapi"
4+
5+
[project]
6+
name = "sqlite_bro"
7+
authors = [
8+
{name = "stonebig"},
9+
]
10+
dependencies = []
11+
requires-python = ">=3.3"
12+
readme = "README.rst"
13+
license = {file = "LICENSE"}
14+
classifiers=[
15+
'Intended Audience :: Education',
16+
'License :: OSI Approved :: MIT License',
17+
'Operating System :: MacOS',
18+
'Operating System :: Microsoft :: Windows',
19+
'Operating System :: OS Independent',
20+
'Operating System :: POSIX',
21+
'Operating System :: Unix',
22+
'Programming Language :: Python :: 3',
23+
'Development Status :: 5 - Production/Stable',
24+
'Topic :: Scientific/Engineering',
25+
'Topic :: Software Development :: Widget Sets',
26+
]
27+
dynamic = ["version",]
28+
description="a graphic SQLite Client in 1 Python file"
29+
keywords = ["sqlite", "gui", "ttk", "sql"]
30+
31+
[project.urls]
32+
Documentation = "https://github.com/stonebig/sqlite_bro/README.rst"
33+
Source = "https://github.com/stonebig/sqlite_bro"
34+
35+
[project.scripts]
36+
sqlite_bro = "sqlite_bro.sqlite_bro:_main"

setup.cfg

Lines changed: 0 additions & 5 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

sqlite_bro/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.13.1'

sqlite_bro/sqlite_bro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class App:
4242

4343
def __init__(self, use_gui=True):
4444
"""create a tkk graphic interface with a main window tk_win"""
45-
self.__version__ = "0.13.0"
46-
self._title = "of 2024-05-11a : 'PEP 667 me up !'"
45+
self.__version__ = "0.13.1"
46+
self._title = "of 2024-05-11b : 'Setup me down !'"
4747
self.conn = None # Baresql database object
4848
self.database_file = ""
4949
self.initialdir = "."

0 commit comments

Comments
 (0)