plain.dev 0.9.0__py3-none-any.whl → 0.11.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
plain/dev/cli.py CHANGED
@@ -78,7 +78,6 @@ class Dev:
78
78
  self.custom_process_env = {
79
79
  **self.plain_env,
80
80
  "PORT": str(self.port),
81
- "PYTHONPATH": os.path.join(APP_PATH.parent, "app"),
82
81
  }
83
82
  self.project_name = os.path.basename(os.getcwd())
84
83
  self.domain = f"{self.project_name}.localhost"
@@ -0,0 +1,5 @@
1
+ from dotenv import load_dotenv
2
+
3
+
4
+ def load_dotenv_file():
5
+ load_dotenv(".env")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plain.dev
3
- Version: 0.9.0
3
+ Version: 0.11.0
4
4
  Summary: Local development tools for Plain.
5
5
  Home-page: https://plainframework.com
6
6
  License: BSD-3-Clause
@@ -17,6 +17,7 @@ Requires-Dist: debugpy (>=1.6.3,<2.0.0)
17
17
  Requires-Dist: gunicorn (>20)
18
18
  Requires-Dist: plain (<1.0.0)
19
19
  Requires-Dist: psycopg[binary] (>=3.2.2,<4.0.0)
20
+ Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
20
21
  Requires-Dist: requests (>=2.0.0)
21
22
  Project-URL: Documentation, https://plainframework.com/docs/
22
23
  Project-URL: Repository, https://github.com/dropseed/plain
@@ -1,6 +1,6 @@
1
1
  plain/dev/README.md,sha256=BQDaRKfsafIPzx7vtVt-zS-a8l6sxbQThhQTvu7tp3Y,3699
2
2
  plain/dev/__init__.py,sha256=C1JrkNE5XX2DLgBXXLAV_UyhofwVd0ZPL59fPUMbOKo,139
3
- plain/dev/cli.py,sha256=nu6-2UAe_Z0_J8_pDx96UjYco2Zuls0h8MG6Pg965lM,9316
3
+ plain/dev/cli.py,sha256=ID6Y6VgO8cFlDg-8mR-pdgo3bt14MsN24UYHB1iPsQ8,9252
4
4
  plain/dev/config.py,sha256=h6o5YZtJhg-cFIWoqIDWuMCC5T09cxEsBaa3BP4Nii0,632
5
5
  plain/dev/contribute/__init__.py,sha256=9ByBOIdM8DebChjNz-RH2atdz4vWe8somlwNEsbhwh4,40
6
6
  plain/dev/contribute/cli.py,sha256=qZ7YmE_upbw-Y5NRpvaHnJTPp9kvn21fPQ7G0n1LAkg,2277
@@ -9,6 +9,7 @@ plain/dev/db/cli.py,sha256=058HjRKLGz-FxauQEpwsPoh_LCiy-_NEIpRZl9W1ZKM,2855
9
9
  plain/dev/db/container.py,sha256=RlPJU_CCMKA-zN8Kp0sYAu3jabOizxYAj8fSCsjCf60,5147
10
10
  plain/dev/debug.py,sha256=fIrecLfAK_lXSDyn3WmYikzZSse3KY47xcVVbZqJGhk,294
11
11
  plain/dev/default_settings.py,sha256=uXWYORWP_aRDwXIFXdu5kHyiBFUZzARIJdhPeFaX35c,75
12
+ plain/dev/entrypoints.py,sha256=qBTP2A9pgxQmZ9hGV0OiBL92v9wa7TeJdOXnKZcX6AE,81
12
13
  plain/dev/gunicorn_logging.json,sha256=yU23jzs5G4YGdDWBNiyAc3KypR4HirR6afIkD7w6DhU,1113
13
14
  plain/dev/mkcert.py,sha256=u284XXQeTgwSkKKh0gMrYpnNGdd9OOUJKLQAXcvGnr4,3459
14
15
  plain/dev/pid.py,sha256=gRMBf7aGndrra1TnmKtPghTijnd0i0Xeo63mzfPWp7M,436
@@ -26,8 +27,8 @@ plain/dev/templates/dev/requests.html,sha256=kQKJZq5L77juuL_t8UjcAehEU61U4RXNnKa
26
27
  plain/dev/urls.py,sha256=b4NL2I6Ok-t7nTPjRnKoz_LQRttE3_mp8l2NlmeYQ9I,146
27
28
  plain/dev/utils.py,sha256=4wMzpvj1Is_c0QxhsTu34_P9wAYlzw4glNPfVtZr_0A,123
28
29
  plain/dev/views.py,sha256=r2Ivk7OXytpRhXq4DZpsb7FXNP9vzmEE3D5kLajYG4w,1073
29
- plain_dev-0.9.0.dist-info/LICENSE,sha256=YDg-l_Rj7LVP5uDXy04eQPGb_DYVXAHAHYd9r3pU1Cg,2713
30
- plain_dev-0.9.0.dist-info/METADATA,sha256=clj5gPFeX3AUoXOtSo2bKbmApx79iJZB5YRydPVdPi4,4675
31
- plain_dev-0.9.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
32
- plain_dev-0.9.0.dist-info/entry_points.txt,sha256=rBo-S4THn07f55UwHBuUhIbDhlUq3EzTOD8mIb5fGQg,99
33
- plain_dev-0.9.0.dist-info/RECORD,,
30
+ plain_dev-0.11.0.dist-info/LICENSE,sha256=YDg-l_Rj7LVP5uDXy04eQPGb_DYVXAHAHYd9r3pU1Cg,2713
31
+ plain_dev-0.11.0.dist-info/METADATA,sha256=AVux8MyGR08todXWuPbpteV-gMd8adAK-bcd-YGhE90,4722
32
+ plain_dev-0.11.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
33
+ plain_dev-0.11.0.dist-info/entry_points.txt,sha256=1FaE_73k95WYOJrmB0hcHBnEIFQa-Cfl56Z1LGxyvak,164
34
+ plain_dev-0.11.0.dist-info/RECORD,,
@@ -3,3 +3,6 @@ contrib=plain.dev.contribute:cli
3
3
  dev=plain.dev:cli
4
4
  pre-commit=plain.dev.precommit:cli
5
5
 
6
+ [plain.setup]
7
+ dev-dotenv=plain.dev.entrypoints:load_dotenv_file
8
+