Skip to content
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

Distribute via PyPi #1

Open
AlberLC opened this issue Jan 25, 2022 · 2 comments
Open

Distribute via PyPi #1

AlberLC opened this issue Jan 25, 2022 · 2 comments

Comments

@AlberLC
Copy link

AlberLC commented Jan 25, 2022

Hello! I love how well this project works.

It would be quite useful if it existed as a pip-installable package, so people could easily install and upgrade versions.

I know the process to distribute packages, if you want I can help.

@lfhohmann
Copy link
Owner

lfhohmann commented Mar 1, 2022

Sure, that would be awesome. How do you suggest we start it?

@AlberLC
Copy link
Author

AlberLC commented Mar 1, 2022

I will do a pull request with the new configuration files for creating a https://pypi.org/ project. You need a pypi account in order of upload projects.

I filled all fields with your data except for version number. You must choose version every time you upload a project version.
image

Here is the tutorial https://packaging.python.org/en/latest/tutorials/packaging-projects/

In summary:
build and twine packages are needed to upload packages: pip install build twine

Then every time you want to upload a new version of google-weather-scraper you must do in project root:
python3 -m build
twine upload dist/*
and input your pypi user and password.

After that anyone can do pip install google-weather-scraper and install your project.

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

No branches or pull requests

2 participants