Add windows support (#290)

This commit is contained in:
Nikhil Rao 2023-01-18 21:15:13 -08:00 committed by GitHub
parent 8be411b81b
commit 42e3a8b728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

6
poetry.lock generated
View File

@ -609,14 +609,14 @@ plugins = ["importlib-metadata"]
[[package]] [[package]]
name = "pyright" name = "pyright"
version = "1.1.288" version = "1.1.290"
description = "Command line wrapper for pyright" description = "Command line wrapper for pyright"
category = "dev" category = "dev"
optional = false optional = false
python-versions = ">=3.7" python-versions = ">=3.7"
files = [ files = [
{file = "pyright-1.1.288-py3-none-any.whl", hash = "sha256:ab5da004e2de3b0567c685aa8d38bba68d872b1b4a20f1013400ace571a7efc7"}, {file = "pyright-1.1.290-py3-none-any.whl", hash = "sha256:c1a57ad812f740fc7fb6bb416cd7e3f46f4e88384c723192402a77e2e756b550"},
{file = "pyright-1.1.288.tar.gz", hash = "sha256:c45594c5833b01d5125bc291d2498d4ed0f2c2e3dd4fd8236fbdaf597099f617"}, {file = "pyright-1.1.290.tar.gz", hash = "sha256:956d8efc70eb5a54da54c82feef842affd3a81719c8864769cd196e211961e3a"},
] ]
[package.dependencies] [package.dependencies]

View File

@ -339,7 +339,7 @@ class Component(Base, ABC):
tag.add_props(**self.event_triggers, key=self.key, sx=self.style).set( tag.add_props(**self.event_triggers, key=self.key, sx=self.style).set(
contents=utils.join( contents=utils.join(
[str(tag.contents)] + [child.render() for child in self.children] [str(tag.contents)] + [child.render() for child in self.children]
), ).strip(),
) )
) )

View File

@ -126,7 +126,7 @@ DEFAULT_IMAGE = "favicon.ico"
# The gitignore file. # The gitignore file.
GITIGNORE_FILE = ".gitignore" GITIGNORE_FILE = ".gitignore"
# Files to gitignore. # Files to gitignore.
DEFAULT_GITIGNORE = {".web", DB_NAME} DEFAULT_GITIGNORE = {WEB_DIR, DB_NAME}
# The name of the pynecone config module. # The name of the pynecone config module.
CONFIG_MODULE = "pcconfig" CONFIG_MODULE = "pcconfig"
# The python config file. # The python config file.