diff --git a/.gitignore b/.gitignore index 883a453..2650b35 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,5 @@ uv.lock dist/* build/* **/test_routing.py -examples/* \ No newline at end of file +examples/* +setup_.py \ No newline at end of file diff --git a/fletx/cli/templates/page/page.py.tpl b/fletx/cli/templates/page/page.py.tpl index 0995f55..2053a60 100644 --- a/fletx/cli/templates/page/page.py.tpl +++ b/fletx/cli/templates/page/page.py.tpl @@ -22,7 +22,7 @@ class {{ name | pascal_case }}Page(FletXPage): # ... def on_init(self): - """Hook called when {{ name | pascal_case }}Page in initialized""" + """Hook called when {{ name | pascal_case }}Page is initialized""" print("{{ name | pascal_case }}Page is initialized") diff --git a/fletx/cli/templates/project/pyproject.toml.tpl b/fletx/cli/templates/project/pyproject.toml.tpl index b74a3d9..e81fb74 100644 --- a/fletx/cli/templates/project/pyproject.toml.tpl +++ b/fletx/cli/templates/project/pyproject.toml.tpl @@ -7,5 +7,5 @@ authors = [{ name = "{{ author }}", email = "" }] requires-python = ">={{ python_version }}" dependencies = [ "fletxr=={{ fletx_version }}", - "flet[all]>=0.28.3", + "flet[all]==0.28.3", ] \ No newline at end of file diff --git a/fletx/cli/templates/project/requirements.txt.tpl b/fletx/cli/templates/project/requirements.txt.tpl index 4fb5e33..fde66de 100644 --- a/fletx/cli/templates/project/requirements.txt.tpl +++ b/fletx/cli/templates/project/requirements.txt.tpl @@ -1,3 +1,3 @@ # Core dependencies -flet>=0.28.3 -fletxr>={{ fletx_version }} +flet==0.28.3 +fletxr=={{ fletx_version }} diff --git a/setup_.py b/setup_.py deleted file mode 100755 index 9ce410d..0000000 --- a/setup_.py +++ /dev/null @@ -1,27 +0,0 @@ -from setuptools import find_packages, setup - -# LOADING DOCUMENTATION -with open("PYPI.md", "r", encoding="utf-8") as fh: - long_description = fh.read() - -setup( - name = 'FletXr', - version = '0.1.4.b230', - packages = find_packages(), - install_requires = [ - "aiohttp>=3.12.13", - "build>=1.2.2.post1", - "flet[all]>=0.28.3", - "httpx>=0.28.1", - "pydantic>=2.11.5", - "pytest>=8.4.0", - "setuptools>=80.8.0", - "uvloop>=0.21.0", - ], - long_description=long_description, - long_description_content_type="text/markdown", - author = '#Einswilli', - author_email = 'einswilligoeh@email.com', - description = 'The GetX-inspired Python Framework for Building Reactive, Cross-Platform Apps with Flet', - url = 'https://github.com/AllDotPy/FletX', -) \ No newline at end of file