Skip to content

Improve dev onboarding and docs #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Improve dev onboarding and docs #160

wants to merge 7 commits into from

Conversation

fpliger
Copy link
Contributor

@fpliger fpliger commented May 1, 2025

We made changes switching the dev environment to just use setup.py to install the whole stack and also established a release workflow/action. This PR adds information on how both work and how to properly set up a dev environment and how to release a new version

@fpliger fpliger requested a review from madhur-tandon May 1, 2025 18:31
CONTRIBUTING.md Outdated
@@ -14,14 +14,29 @@ git clone https://github.com/pyscript/pyscript.git
pip install --upgrade pip
```

Make a virtualenv and activate it:
Create a local enviroment with your enviroment manager of choice.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enviroment --> environment

CONTRIBUTING.md Outdated
In case you choose to use conda, use the following commands:

```shell
conda create -n pyscript-cli python
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can probably pin to a specific python version here

CONTRIBUTING.md Outdated

### Installation

Now that you have your environment set up and activated, install your local enviroment dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enviroment --> environment (the 2nd one)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the typo is present in other parts of the README too, which are not touched in this PR

CONTRIBUTING.md Outdated
@@ -39,6 +54,37 @@ After setting up your developer enviroment, you can run the tests with the follo
pytest .
```

# Running CLI Commands

Once the installation process is done, the `pyscript` CLI is avaible to be used once the environment has been
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avaible --> available

madhur-tandon
madhur-tandon previously approved these changes May 6, 2025
Copy link
Member

@madhur-tandon madhur-tandon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably add the following note:

if you wanna build locally using python -m build , also pass the env var CHECK_VERSION as False aka CHECK_VERSION=False python -m build
this will skip the check tag version stuff in setup.py

Approved but there are typos

@fpliger
Copy link
Contributor Author

fpliger commented May 6, 2025

Cool, TY! Will address the comments and re-commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants