Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pystache_custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pystache_custom
Commits
29c7661f
Commit
29c7661f
authored
Apr 25, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added commands for tagging to setup.py.
parent
4007fa33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
7 deletions
+23
-7
setup.py
+23
-7
No files found.
setup.py
View file @
29c7661f
...
@@ -4,19 +4,21 @@
...
@@ -4,19 +4,21 @@
"""
"""
This script supports publishing Pystache to PyPI.
This script supports publishing Pystache to PyPI.
Below are instructions to pystache maintainers on how to push a new
This docstring contains instructions to Pystache maintainers on how
version of pystache to PyPI--
to release a new version of Pystache.
(1) Push to PyPI. To release a new version of Pystache to PyPI--
http://pypi.python.org/pypi/pystache
http://pypi.python.org/pypi/pystache
Create a PyPI user account. The user account will need permissions to push
create a PyPI user account if you do not already have one. The user account
to PyPI. A current "Package Index Owner" of pystache can grant you those
will need permissions to push to PyPI. A current "Package Index Owner" of
permissions.
Pystache can grant you those
permissions.
When you have permissions, run the following (after preparing the release,
When you have permissions, run the following (after preparing the release,
bumping the version number in setup.py, etc):
merging to master,
bumping the version number in setup.py, etc):
>
python setup.py publish
python setup.py publish
If you get an error like the following--
If you get an error like the following--
...
@@ -33,6 +35,20 @@ as described here, for example:
...
@@ -33,6 +35,20 @@ as described here, for example:
http://docs.python.org/release/2.5.2/dist/pypirc.html
http://docs.python.org/release/2.5.2/dist/pypirc.html
(2) Tag the release on GitHub. Here are some commands for tagging.
List current tags:
git tag -l -n3
Create an annotated tag:
git tag -a -m "Version 0.5.1" "v0.5.1"
Push a tag to GitHub:
git push --tags defunkt v0.5.1
"""
"""
import
os
import
os
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment