-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Created the GitHub Actions step Upload to PyPi #535
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[build-system] | ||
# Minimum requirements for the build system to execute. | ||
# https://stackoverflow.com/questions/48048745/setup-py-require-a-recent-version-of-setuptools-before-trying-to-install | ||
requires = ["setuptools", "wheel"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hasnt utf8 been the default for a long time now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
import os | ||
|
||
import setuptools | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
[package] | ||
name = "anki" | ||
version = "2.1.24" # automatically updated | ||
version = "2.1.24" # automatically updated | ||
edition = "2018" | ||
authors = ["Ankitects Pty Ltd and contributors"] | ||
authors = ["Ankitects Pty Ltd and contributors <[email protected]>"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this mail address here intended? I'd expect this to rather point to Anki support page There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do not know any anki support email and pypi is rejecting the wheel if there is no email. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dae, is there an email for support? |
||
license = "AGPL-3.0-or-later" | ||
description = "Anki's Rust library code" | ||
readme = "README.md" | ||
|
||
[dependencies] | ||
nom = "5.0.1" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Anki's Rust library code | ||
|
||
https://anki.tenderapp.com/discussions/ankidesktop/40025-anki-in-python-package-index |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[package] | ||
name = "ankirspy" | ||
version = "2.1.24" # automatically updated | ||
version = "2.1.24" # automatically updated | ||
edition = "2018" | ||
authors = ["Ankitects Pty Ltd and contributors"] | ||
authors = ["Ankitects Pty Ltd and contributors <[email protected]>"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same |
||
license = "AGPL-3.0-or-later" | ||
description = "Anki's Rust library code Python bindings" | ||
readme = "README.md" | ||
|
||
[dependencies] | ||
anki = { path = "../rslib" } | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Anki's Rust library code Python bindings | ||
|
||
https://anki.tenderapp.com/discussions/ankidesktop/40025-anki-in-python-package-index |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that was required for the sdist work you were doing, and should not be needed at the moment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. This is only required if you try to build anki as sdist instead of bdist_wheel. But having this allow me to use
sdist
too and cargo already requires this make rule to update its version. So it is just something you have to do anyway (for cargo.toml).