Skip to content

Commit f8c2019

Browse files
committed
Update create_setup.ipynb
1 parent 0f038df commit f8c2019

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

create_setup.ipynb

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,31 @@
3030
"execution_count": null,
3131
"metadata": {},
3232
"outputs": [],
33-
"source": []
33+
"source": [
34+
"#Build a source distribution\n",
35+
"python setup.py sdist #current directory must be in directory containing setup.py"
36+
]
37+
},
38+
{
39+
"cell_type": "code",
40+
"execution_count": null,
41+
"metadata": {},
42+
"outputs": [],
43+
"source": [
44+
"#build a binary distribution\n",
45+
"python setup.py bdist"
46+
]
47+
},
48+
{
49+
"cell_type": "code",
50+
"execution_count": null,
51+
"metadata": {},
52+
"outputs": [],
53+
"source": [
54+
"#upload a package\n",
55+
"python setup.py register\n",
56+
"python setup.py sdist upload"
57+
]
3458
}
3559
],
3660
"metadata": {

0 commit comments

Comments
 (0)