File tree Expand file tree Collapse file tree 6 files changed +14
-114
lines changed
Expand file tree Collapse file tree 6 files changed +14
-114
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export VIRTUALENV=${VIRTUALENV:="${app_name}"}
88export FREENIT_ENV=${FREENIT_ENV:= " prod" }
99export SYSPKG=${SYSPKG:= " no" }
1010export SYSPKG=` echo ${SYSPKG} | tr ' [:lower:]' ' [:upper:]' `
11- export DB_TYPE=${DB_TYPE:= " ormar " }
11+ export DB_TYPE=${DB_TYPE:= " sql " }
1212export PIP_INSTALL=" pip install -U --upgrade-strategy eager"
1313export OFFLINE=${OFFLINE:= " no" }
1414
@@ -27,7 +27,7 @@ setup() {
2727 fi
2828 fi
2929
30- if [ " ${DB_TYPE} " = " ormar " ]; then
30+ if [ " ${DB_TYPE} " = " sql " ]; then
3131 if [ ! -e " alembic/versions" ]; then
3232 mkdir alembic/versions
3333 alembic revision --autogenerate -m initial
Original file line number Diff line number Diff line change 22
33try :
44 from .local_config import DevConfig
5+ except ModuleNotFoundError :
6+ from .base_config import DevConfig
57except ImportError :
68 from .base_config import DevConfig
79
810try :
911 from .local_config import TestConfig
12+ except ModuleNotFoundError :
13+ from .base_config import TestConfig
1014except ImportError :
1115 from .base_config import TestConfig
1216
1317try :
1418 from .local_config import ProdConfig
19+ except ModuleNotFoundError :
20+ from .base_config import ProdConfig
1521except ImportError :
1622 from .base_config import ProdConfig
1723
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ license = {file = "LICENSE"}
1111requires-python = " >=3.8"
1212dependencies = [
1313 " aiosqlite" ,
14- " freenit[ormar ]" ,
14+ " freenit[sql ]" ,
1515]
1616authors = [
1717 {name = " John Doe" , email = " john@doe.com" },
@@ -25,10 +25,10 @@ classifiers = [
2525]
2626
2727[project .optional-dependencies ]
28- beanie = [" freenit[beanie ]" ]
28+ mongo = [" freenit[mongo ]" ]
2929 dev = [" freenit[dev]" ]
3030 ldap = [" freenit[ldap]" ]
31- ormar = [" freenit[ormar ]" ]
31+ sql = [" freenit[sql ]" ]
3232 test = [" freenit[test]" ]
3333
3434[project .urls ]
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ classifiers = [
2828]
2929
3030[project .optional-dependencies ]
31- beanie = [" beanie" ]
31+ mongo = [" beanie" ]
3232 dev = [
3333 " aiosqlite" ,
3434 " ruff" ,
@@ -41,9 +41,9 @@ classifiers = [
4141 ]
4242 build = [" twine" ]
4343 ldap = [" bonsai" ]
44- ormar = [
44+ sql = [
4545 " alembic" ,
46- " ormar " ,
46+ " sql " ,
4747 ]
4848 test = [
4949 " aiosqlite" ,
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments