Skip to content

Commit

Permalink
version 20230507.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mdipierro committed May 8, 2023
1 parent ef60cc0 commit 2a77f13
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 82 deletions.
20 changes: 7 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
.PHONY: clean build install deploy test.sql
.PHONY: venv test build deploy

venv:
python3 -m venv venv
# venv/bin/pip install -r requirements.txt
clean:
rm -f dist/*
venv/bin/python setup.py clean
build: clean
venv/bin/python setup.py build
install: build
venv/bin/python setup.py install
test.sql: install
test: venv
venv/bin/python -m unittest tests.sql
build:
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
python3 -m build
deploy: build
# http://guide.python-distribute.org/creation.html
venv/bin/python setup.py sdist
twine upload dist/*
python3 -m twine upload dist/*
2 changes: 1 addition & 1 deletion pydal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "20221110.1"
__version__ = "20230507.3"

from .base import DAL
from .helpers.classes import SQLCustomType
Expand Down
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[project]
name = "pydal"
version = "20230507.3"
authors = [{ name="Massimo Di Pierro", email="[email protected]" },]
description = 'pyDAL is a Database Abstraction Layer. It generates queries for SQlite, PotsgreSQL, MySQL, and other backends. It was originally part of the web2py frameworks but it is now an independent project. Example: db.define_table("thing",Field("name")) and db.thing.insert(name="Pizza")'
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]

[project.urls]
"Homepage" = "https://github.com/web2py/pydal"
"Bug Tracker" = "https://github.com/web2py/pydal/issues"
"Documentation" = "https://py4web.com/_documentation/static/en/chapter-07.html"
68 changes: 0 additions & 68 deletions setup.py

This file was deleted.

0 comments on commit 2a77f13

Please sign in to comment.