Skip to content

Commit

Permalink
build with flit instead ot setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebig committed May 11, 2024
1 parent b153c82 commit e10747f
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 61 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

2024-05-11b : v0.13.1 'Setup me down !'
---------------------------------------

* see https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details


2024-05-11a : v0.13.0 'PEP 667 me up !'
---------------------------------------

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] # flit_core seems the step after 'setuptools','wheel','build','twine' (see https://github.com/pypa/build/issues/394)
requires = ["flit_core"]
build-backend = "flit_core.buildapi"

[project]
name = "sqlite_bro"
authors = [
{name = "stonebig"},
]
dependencies = []
requires-python = ">=3.3"
readme = "README.rst"
license = {file = "LICENSE"}
classifiers=[
'Intended Audience :: Education',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: OS Independent',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Development Status :: 5 - Production/Stable',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Widget Sets',
]
dynamic = ["version",]
description="a graphic SQLite Client in 1 Python file"
keywords = ["sqlite", "gui", "ttk", "sql"]

[project.urls]
Documentation = "https://github.com/stonebig/sqlite_bro/README.rst"
Source = "https://github.com/stonebig/sqlite_bro"

[project.scripts]
sqlite_bro = "sqlite_bro.sqlite_bro:_main"
5 changes: 0 additions & 5 deletions setup.cfg

This file was deleted.

54 changes: 0 additions & 54 deletions setup.py

This file was deleted.

1 change: 1 addition & 0 deletions sqlite_bro/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.13.1'
4 changes: 2 additions & 2 deletions sqlite_bro/sqlite_bro.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class App:

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

0 comments on commit e10747f

Please sign in to comment.