autopub 0.2.2__py3-none-any.whl → 1.0.0a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- autopub/__init__.py +182 -0
- autopub/cli/__init__.py +121 -0
- autopub/cli/plugins.py +37 -0
- autopub/exceptions.py +47 -0
- autopub/plugins/__init__.py +40 -0
- autopub/plugins/bump_version.py +41 -0
- autopub/plugins/pdm.py +18 -0
- autopub/plugins/poetry.py +16 -0
- autopub/plugins/update_changelog.py +50 -0
- autopub/types.py +11 -0
- {autopub-0.2.2.dist-info → autopub-1.0.0a1.dist-info}/METADATA +15 -9
- autopub-1.0.0a1.dist-info/RECORD +15 -0
- {autopub-0.2.2.dist-info → autopub-1.0.0a1.dist-info}/WHEEL +1 -1
- autopub-1.0.0a1.dist-info/entry_points.txt +3 -0
- autopub/autopub.py +0 -83
- autopub/base.py +0 -159
- autopub/build_release.py +0 -15
- autopub/check_release.py +0 -15
- autopub/commit_release.py +0 -33
- autopub/create_github_release.py +0 -66
- autopub/deploy_release.py +0 -18
- autopub/github_contributor.py +0 -83
- autopub/prepare_release copy.py +0 -119
- autopub/prepare_release.py +0 -93
- autopub/publish_release.py +0 -22
- autopub-0.2.2.dist-info/RECORD +0 -17
- autopub-0.2.2.dist-info/entry_points.txt +0 -3
- {autopub-0.2.2.dist-info → autopub-1.0.0a1.dist-info}/LICENSE +0 -0
autopub/publish_release.py
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import os
|
2
|
-
import sys
|
3
|
-
|
4
|
-
sys.path.append(os.path.dirname(__file__)) # noqa
|
5
|
-
|
6
|
-
from base import BUILD_SYSTEM, PYPI_URL, run_process
|
7
|
-
|
8
|
-
poetry_pub = ["poetry", "publish", "-u", "$PYPI_USERNAME", "-p", "$PYPI_PASSWORD"]
|
9
|
-
|
10
|
-
if PYPI_URL:
|
11
|
-
twine_pub = ["twine", "upload", "--repository-url", PYPI_URL, "dist/*"]
|
12
|
-
else:
|
13
|
-
twine_pub = ["twine", "upload", "dist/*"]
|
14
|
-
|
15
|
-
if BUILD_SYSTEM == "poetry":
|
16
|
-
pub_cmd = poetry_pub
|
17
|
-
else:
|
18
|
-
pub_cmd = twine_pub
|
19
|
-
|
20
|
-
|
21
|
-
def publish_release():
|
22
|
-
run_process(pub_cmd)
|
autopub-0.2.2.dist-info/RECORD
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
autopub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
autopub/autopub.py,sha256=uY-CGv6NIamoZYdv3U5oA4GDJZ-MBSmn2v9X5YRjn6w,1908
|
3
|
-
autopub/base.py,sha256=usIfektR-rFMoTZP4Oot3SFyLX9g9GG-5jRy4s5jZQo,4789
|
4
|
-
autopub/build_release.py,sha256=QuKzFJYt8LNziwNI-ANl7gxPYf1Wbw80mAAGMtxtzAQ,302
|
5
|
-
autopub/check_release.py,sha256=tNiNdx3lXEtV6mralqu1pLWViYm3kRikCx60dM9DULw,446
|
6
|
-
autopub/commit_release.py,sha256=Tz-TToqEO9AaWz5HUCNrQV3mlusdyI3HaxmwvHsPIT4,680
|
7
|
-
autopub/create_github_release.py,sha256=6jjp-7cU4ERZjNVpp8tR7U6k-hUmB7VCzC9JiBfKu70,1558
|
8
|
-
autopub/deploy_release.py,sha256=J0hkMhLaO-ktKMjNa-Zu1pVngx_fD_nM_dzC3UTWJM4,447
|
9
|
-
autopub/github_contributor.py,sha256=z49DxFGuvjMimUbKBP9BtsYmNLGuEW22tsPZkL_qL-0,2466
|
10
|
-
autopub/prepare_release copy.py,sha256=F1oQVv4Ez6kl0M3Tr5_z529eZ2SMRuqjVsZEsnihl4c,3322
|
11
|
-
autopub/prepare_release.py,sha256=aHTgW0d7n8joJLFiLFL53iR15wj529Yx0tpEsQkAb_Q,2372
|
12
|
-
autopub/publish_release.py,sha256=G8poolFM9j5W6gtLSCo4AoZvVKmlIrkBslBlJf-1JQY,488
|
13
|
-
autopub-0.2.2.dist-info/entry_points.txt,sha256=dneC-sBNh-ntAab9sb46B2D6zW7GGvXHHBtIGyknjnA,48
|
14
|
-
autopub-0.2.2.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
15
|
-
autopub-0.2.2.dist-info/WHEEL,sha256=FWzWAvOOsDP6aqtZj_z3pIhVEk8S9F03Xwafa0tLqIY,90
|
16
|
-
autopub-0.2.2.dist-info/METADATA,sha256=IXdKYKXe7Q5YE6Un0_yVKwXzj1ETVkK1lvxNx34ipNw,3509
|
17
|
-
autopub-0.2.2.dist-info/RECORD,,
|
File without changes
|