You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,8 @@ The configuration file should look like this:
87
87
path: simple
88
88
# Redirection when not found
89
89
shop: http://pypi.python.org/simple
90
+
# Tells if we can overwrite an existing package
91
+
overwrite: false
90
92
# List of users and their MD5 hashed password
91
93
# To get MD5 sum for password foo, type 'echo -n foo | md5sum'
92
94
# To disable auth when uploading packages, set auth to ~
@@ -149,6 +151,10 @@ This is the URL path that the server will listen. Default value is *simple*, thu
149
151
150
152
This is the URL of the public package repository, aka <http://pypi.python.org/simple>. This should not be changed.
151
153
154
+
### overwrite
155
+
156
+
Tells if we can overwrite an existing package while uploading (with `setup.py upload`). If set to *false* (the default value), you must upload the package manually on the server to amend a release (which is **not** advisable), and an attempt will result in a status code *400*. If set to true, it is possible to overwrite a package.
157
+
152
158
### auth
153
159
154
160
This is the basic authentication configuration. If you don't want authentication, set this value to *~*. This is a list of usernames and MD5 hash of their password. To get the MD5 hash of a given password, you can type following command:
0 commit comments