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

Workflow to build python package with pyproject.toml #22

Open
mxochicale opened this issue Jul 8, 2023 · 4 comments
Open

Workflow to build python package with pyproject.toml #22

mxochicale opened this issue Jul 8, 2023 · 4 comments
Assignees
Labels
p1-critical-priority Critical Priority

Comments

@mxochicale
Copy link
Member

mxochicale commented Jul 8, 2023

@mxochicale
Copy link
Member Author

  • Building and
python -m build
pip install --editable .

https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/

  • debugging
python
Python 3.8.17 | packaged by conda-forge | (default, Jun 16 2023, 07:06:00) 
[GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import medisynth

https://www.youtube.com/watch?v=v6tALyc4C10

@mxochicale
Copy link
Member Author

twine upload dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: mxochicale                 
Enter your password: 
Uploading medisynth-0.0.1-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 kB • 00:00 • ?
Uploading medisynth-0.0.1.tar.gz
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.4/11.4 kB • 00:00 • ?

View at:
https://pypi.org/project/medisynth/0.0.1/

@mxochicale mxochicale self-assigned this Jul 8, 2023
@mxochicale mxochicale added the p1-critical-priority Critical Priority label Jul 8, 2023
mxochicale added a commit that referenced this issue Jul 8, 2023
removes quotes that avoid to publish pypi (#22)
@mxochicale
Copy link
Member Author

@mxochicale mxochicale changed the title Transition your Python project to use pyproject.toml Workflow to build python package with pyproject.toml Jul 15, 2023
mxochicale added a commit that referenced this issue Jul 15, 2023
@mxochicale
Copy link
Member Author

https://pypi.org/project/xfetus/0.0.5/

git checkout main
git pull origin main
git tag -a v0.0.5 -m 'pre-alpha release v0.0.5'
git push origin v0.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1-critical-priority Critical Priority
Projects
None yet
Development

No branches or pull requests

1 participant