8000 Adding publish information to pypi (#22) · vors/jupyter-powershell@3d74f2d · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d74f2d

Browse files
chlafrenierevors
authored andcommitted
Adding publish information to pypi (#22)
* Add publish information
1 parent c3cbe75 commit 3d74f2d

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

publishinfo.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Powershell kernel release
2+
3+
## Bump the version in the following locations:
4+
- https://github.com/vors/jupyter-powershell/blob/261bcd5f73dac852042f8e8ff1518e39fbbd3d08/powershell_kernel/__init__.py#L2
5+
- https://github.com/vors/jupyter-powershell/blob/261bcd5f73dac852042f8e8ff1518e39fbbd3d08/powershell_kernel/kernel.py#L14
6+
- https://github.com/vors/jupyter-powershell/blob/261bcd5f73dac852042f8e8ff1518e39fbbd3d08/setup.py#L5
7+
8+
## Update Changelog
9+
- Add descriptive content to describe what's new in latest version
10+
## Create GitHub release
11+
12+
## Configure .pypirc File
13+
Docs for how to setup .pypirc file can be found here: https://docs.python.org/3.6/distutils/packageindex.html#the-pypirc-file.
14+
Note: it should look something like the following, and live in th $HOME directory. For security reasons, omit the password field, like so (you'll be prompted later for it when running sdist upload, don't worry!):
15+
16+
```[distutils]
17+
index-servers =
18+
pypi
19+
20+
[pypi]
21+
repository: https://pypi.python.org/pypi
22+
username: <your_username_here>
23+
```
24+
25+
## Install setup tools dependencies
26+
pip install -U setuptools
27+
28+
## Edit setup.py
29+
- Get latest in branch
30+
- In setup.py, add the following under url:
31+
32+
download_url = <path to tar.gz file in github release>,
33+
34+
example: https://github.com/vors/jupyter-powershell/archive/0.1.0.tar.gz
35+
36+
## Upload bits to pypi
37+
python setup.py sdist upload -r pypi

0 commit comments

Comments
 (0)
0