No project description provided
Project description
A Packaged React Application
A simple demo client for demonsrating how to build & package frontend application into a Python package. This template was created by Vitejs.
Getting Started
Usage
You can install this client in your Python backend server:
pip install vite-project
Contribution
Installation
npm install
npm run build
Packaging
touch setup.py
with the following content:
from setuptools import setup
from pathlib import Path
cwd = Path(__file__).parent
long_description = (cwd / "README.md").read_text()
setup(
name="vite-project",
version="0.0.1",
package_dir={"vite_project": "dist"},
package_data={"vite_project": ["**/*.*"]},
long_description=long_description,
long_description_content_type="text/markdown",
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vite-project-1.0.0.tar.gz
(52.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vite-project-1.0.0.tar.gz.
File metadata
- Download URL: vite-project-1.0.0.tar.gz
- Upload date:
- Size: 52.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
415d6f473ffca3eaff4b47148a5865d96222b6c60786d892dfac3d28f24eeaf2
|
|
| MD5 |
307d3685805b5205b1d969d3b7e5d813
|
|
| BLAKE2b-256 |
2f5500dcb4ed019ccf96549b12851f8643a3f9935659e864aa1af75b06a481b7
|
File details
Details for the file vite_project-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vite_project-1.0.0-py3-none-any.whl
- Upload date:
- Size: 52.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a89703ee655371b2accf2f31f9447d348966853eeb6264b50de74039bbbb841
|
|
| MD5 |
ea84d95c887dae41b42d8d74c2a020b7
|
|
| BLAKE2b-256 |
9acbff61f50293a69a9a42138bdaa086fe8395cf0ccad704adcb03eb12f6546c
|