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

poetry files to work on issue #148 and protocol to build and publish … #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewrgarcia
Copy link

@andrewrgarcia andrewrgarcia commented Jan 17, 2023

…(in PR comment):

What was done (in Terminal, autocrop directory):

poetry init  # Made the necessary poetry files to build the package 
poetry run pytest -vs # Run the tests PRIOR to adding any dependency. It did not require any addition.

Adding any dependency may be done with the poetry add [dependency] command in the above directory.

Packaging your distribution and Publishing to PyPI

To package and publish any future versions [ by the project maintainer ], you will have to first configure your PyPI API token to Poetry with the poetry config pypi-token.pypi [your-api-token] command. This will only need to be done once.

Packaging your new versions with poetry and publishing them to PyPi may then be done by running the below lines, respectively:

poetry build
poetry publish

Reference: How To Publish Python Packages to PyPI using Poetry on Ubuntu 22.04

@leblancfg leblancfg self-assigned this Mar 1, 2024
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