Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9149c34

Browse files
committed
Information on how to make a release on pypi
1 parent9c94974 commit9149c34

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

‎README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,33 @@ You can watch me fix issues or implement new features [live on Twitch][twitch-ch
6868
* The encountered stack-trace, if applicable
6969
* Enough information to allow reproducing the issue
7070

71+
###How to make a new release
72+
73+
* assure`changes.rst` is up-to-date
74+
* put new version into`VERSION` file
75+
* run`./setup.py sdist`
76+
* Onhttps://pypi.python.org
77+
- Click`GitPython` (and pray it will not timeout)
78+
- Lucky ? Click`edit` on the last version, and copy the main description text
79+
to your clipboard - it's needed later.
80+
- On top of that page, click the`PKG file` button or drag & drop the one from
81+
`./GitPython.egg-info/PKG-INFO` on it. Then click the`add ...` button to
82+
create a new version.
83+
- Paste the previously copied description text into the description field, and click the`add information` button on the very bottom of the page.
84+
- Click`GitPython` again and then click`files` of the newly created version.
85+
- Select`source package` in the dropdown, then choose or drag & drop
86+
`./dist/GitPython-<version>.tar.gz` onto the file path.
87+
- Click the`upload` button.
88+
* Run`git tag <version>` to mark the version you just uploaded to pypi.
89+
* Run`git push --tags origin master` to publish the changes.
90+
* finally, set the upcoming version in the`VERSION` file, usually be incrementing
91+
the patch level, and possibly by appending`-dev`. Probably you want to`git push` once more.
92+
93+
*NOTE:* At the time of writing, pypi wouldn't hear my prayers and did timeout on
94+
me, which is why button names are just*guesses*. It's advised to update this text
95+
next time someone manages to publish a new release to a system so firmly rooted in
96+
the past.
97+
7198
###LICENSE
7299

73100
New BSD License. See the LICENSE file.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp