Skip to content

Commit 74c442e

Browse files
committed
Merge branch 'master' of github.com:mosquito/pypi-server
2 parents 9ba1f1a + 32ef219 commit 74c442e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,29 @@ If you want to support postgres or mysql database:
9696
9797
pip install 'pypi-server[postgres]' # or 'pypi-server[mysql]'
9898
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

0 commit comments

Comments
 (0)