Fix in pyproject

This commit is contained in:
Antonio de la Rosa 2025-04-17 12:01:02 +02:00
parent eb593fb9b2
commit cccebbbca2
2 changed files with 14 additions and 8 deletions

View file

@ -119,7 +119,8 @@ class FloatField(PhangoField):
self.default_value=0
self.type_sql='float'.format(self.size)
self.jtype='float'
self.jtype='number'
self.jformat='float'
def check(self, value):
@ -177,7 +178,8 @@ class DoubleField(FloatField):
super().__init__(name, size, required)
self.type_sql='double'
self.jtype='float'
self.jtype='number'
self.jformat='double'
def get_type_sql(self):
@ -381,6 +383,10 @@ class BooleanField(IntegerField):
self.default_value=0
self.type_sql='tinyint(1)'
self.jtype='boolean'
#self.jformat='0'
self.jexample='0'
def check(self, value):

View file

@ -6,7 +6,9 @@ build-backend = "flit_core.buildapi"
name = "paramecio"
authors = [{name = "Antonio de la Rosa", email = "antonio.delarosa@salirdelhoyo.com"}]
readme = "README.md"
dynamic = ["version", "description"]
version = "1.0.36"
description = "A simple framework using flask and mako"
# dynamic = ["version", "description"]
classifiers=['Development Status :: 4 - Beta',
"Intended Audience :: Developers",
@ -34,10 +36,7 @@ install_requires=[
"pillow",
"arrow",
"bleach",
"argon2-cffi",
"oslo.concurrency",
"gunicorn",
"itsdangerous"
"argon2-cffi"
]
[project.urls]
@ -46,7 +45,8 @@ Documentation = "https://docs.cuchulu.com/paramecio/"
[project.scripts]
paramecio = "paramecio.console:start"
parameciodb = "parmecio.cromosoma.dbadmin:start"
parameciodb = "paramecio.libraries.db.dbadmin:start"
parameciocm = "paramecio.scripts.create_module:start"
[tool.pytest.ini_options]
testpaths = ["tests"]