Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

hatch PyApp build #98

Unanswered
sagregrevc asked this question in Q&A
Mar 12, 2024 · 1 comments · 6 replies
Discussion options

@ofek I trued to use hatch with PyApp for building app, https://ofek.dev/pyapp/latest/how-to/
but "configuration" step hard understand. where it should be done?
it dont look like pyproject.toml or I dont know top key words

if I trued to use "cargo build --release", but it ask for cargo.toml and manifest, but in instruction nothing about this

if I trued with "hatch build --target app" then it will give .exe file with 3 Mb(probably 100 times less then expected) and 5 files inside which dont look like python
".data, .pdata .rdata .reloc .text"

additional question: py software running from IDE with command "streamlit run ./src/main.py --client.toolbarMode=minimal".
this request somethinh special from me if I use PyApp+hatch?

You must be logged in to vote

Replies: 1 comment 6 replies

Comment options

I think you're going for this example: https://ofek.dev/pyapp/latest/examples/#offline-installation

Before archiving the distribution you should install your required dependencies within.

You must be logged in to vote
6 replies
Comment options

ofek Mar 12, 2024
Maintainer

Those are environment variables that you have to set. The way to do that differs depending on what shell you are using.

Comment options

ok, started understand my mistake.
but can it be done by hatch and pyproject.toml ?
Or this should be done only manually each time for new project?

do you have codes for win? it little bit hard to decode them.
image

what should exist before I use PyApp? only whl, gz ?

Comment options

ofek Mar 13, 2024
Maintainer

I'm sorry but I don't have time to help with support. Can you please be very specific with your questions?

I would ask on StackOverflow or one of the top AI chat bots from OpenAI or Anthropic.

Comment options

specific: what should exist before using PyApp?

Comment options

ofek Mar 13, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /