SalladShooter / phyal

Quickly build websites without the hassle of HTML
https://phyal.vercel.app/
MIT License
34 stars 3 forks source link

Change repository to package repository instead of template #13

Closed aatle closed 2 months ago

aatle commented 2 months ago

A PyPI package should have its own dedicated repository. A template would be a separate thing since you would install the package instead of forking its source code.

SalladShooter commented 2 months ago

@aatle how exactly can I do this, what contents would I need in the pyproject.toml. Should I remake the Repo to fix it?

aatle commented 2 months ago

You do not need to remake the repo. First, pick a build backend to manage things easier. Here's some info on python build backends: https://sinoroc.gitlab.io/kb/python/packaging_tools_comparisons.html#build-back-ends https://www.reddit.com/r/Python/comments/166a9br/pyprojecttoml_buildbackend_statistics/

You should probably use poetry because that is what replit uses. Now, on your local machine use poetry init to create a pyproject.toml for an existing project, PHYAL. Poetry also helps publish your package.

Take a look at my own github pypi package, pyriak, for reference.

(I recently moved from replit to github + local machine. I am an inactive TL3 in ask replit right now.)

There are still many improvements you can make after this, I will post some issues later.

SalladShooter commented 2 months ago

@aatle thank you so much for the resources, looking forward to future ideas.

aatle commented 2 months ago

The last two tasks do not seem to be fixed yet. This issue should be reopened.