File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -96,3 +96,29 @@ If you want to support postgres or mysql database:
96
96
97
97
pip install ' pypi-server[postgres]' # or 'pypi-server[mysql]'
98
98
99
+ Default admin login \ password is: admin \ admin
100
+
101
+ How upload own package
102
+ ----------------------
103
+
104
+ 1. Make sure what your package setup.py file is correct. Check reference at https://packaging.python.org/distributing/
105
+
106
+ 2. Create at home directory .pypirc
107
+
108
+ .. code-block ::
109
+
110
+ [distutils]
111
+ index-servers =
112
+ mypypi
113
+
114
+ [mypypi]
115
+ repository=http://example.com/pypi
116
+ username=admin
117
+ password=admin
118
+
119
+ 3. Make bundle, register package at your pypi-server and upload package:
120
+
121
+ .. code-block :: bash
122
+
123
+ cd your_package_root_folder
124
+ python setup.py sdist register upload -r mypypi
You can’t perform that action at this time.
0 commit comments