-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
25 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |