Fix in pyproject
This commit is contained in:
parent
eb593fb9b2
commit
cccebbbca2
2 changed files with 14 additions and 8 deletions
|
|
@ -119,7 +119,8 @@ class FloatField(PhangoField):
|
||||||
self.default_value=0
|
self.default_value=0
|
||||||
self.type_sql='float'.format(self.size)
|
self.type_sql='float'.format(self.size)
|
||||||
|
|
||||||
self.jtype='float'
|
self.jtype='number'
|
||||||
|
self.jformat='float'
|
||||||
|
|
||||||
def check(self, value):
|
def check(self, value):
|
||||||
|
|
||||||
|
|
@ -177,7 +178,8 @@ class DoubleField(FloatField):
|
||||||
|
|
||||||
super().__init__(name, size, required)
|
super().__init__(name, size, required)
|
||||||
self.type_sql='double'
|
self.type_sql='double'
|
||||||
self.jtype='float'
|
self.jtype='number'
|
||||||
|
self.jformat='double'
|
||||||
|
|
||||||
def get_type_sql(self):
|
def get_type_sql(self):
|
||||||
|
|
||||||
|
|
@ -381,6 +383,10 @@ class BooleanField(IntegerField):
|
||||||
self.default_value=0
|
self.default_value=0
|
||||||
|
|
||||||
self.type_sql='tinyint(1)'
|
self.type_sql='tinyint(1)'
|
||||||
|
|
||||||
|
self.jtype='boolean'
|
||||||
|
#self.jformat='0'
|
||||||
|
self.jexample='0'
|
||||||
|
|
||||||
def check(self, value):
|
def check(self, value):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,9 @@ build-backend = "flit_core.buildapi"
|
||||||
name = "paramecio"
|
name = "paramecio"
|
||||||
authors = [{name = "Antonio de la Rosa", email = "antonio.delarosa@salirdelhoyo.com"}]
|
authors = [{name = "Antonio de la Rosa", email = "antonio.delarosa@salirdelhoyo.com"}]
|
||||||
readme = "README.md"
|
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',
|
classifiers=['Development Status :: 4 - Beta',
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
|
|
@ -34,10 +36,7 @@ install_requires=[
|
||||||
"pillow",
|
"pillow",
|
||||||
"arrow",
|
"arrow",
|
||||||
"bleach",
|
"bleach",
|
||||||
"argon2-cffi",
|
"argon2-cffi"
|
||||||
"oslo.concurrency",
|
|
||||||
"gunicorn",
|
|
||||||
"itsdangerous"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
|
|
@ -46,7 +45,8 @@ Documentation = "https://docs.cuchulu.com/paramecio/"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
paramecio = "paramecio.console:start"
|
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]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue