Skip to content

Commit 689b25e

Browse files
Denis EpifanovDenis Epifanov
authored andcommitted
add instruction how upload packages
1 parent 1cae7ae commit 689b25e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,24 @@ 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.
105+
2. Create at home directory .pypirc
106+
.. code-block:: ini
107+
[distutils]
108+
index-servers =
109+
mypypi
110+
111+
[mypypi]
112+
repository=http://example.com/pypi
113+
username=admin
114+
password=admin
115+
116+
2. Make bundle, register package at your pypi server and upload package:
117+
.. code-block:: bash
118+
cd your_package_root_folder
119+
python setup.py sdist register upload -r mypypi

0 commit comments

Comments
 (0)