◆ build_post_data()
def build_post_data |
( |
|
self, |
|
|
|
action |
|
) |
| |
◆ check_metadata()
def check_metadata |
( |
|
self | ) |
|
◆ classifiers()
Fetch the list of classifiers from the server.
◆ finalize_options()
def finalize_options |
( |
|
self | ) |
|
◆ initialize_options()
def initialize_options |
( |
|
self | ) |
|
◆ post_to_server()
def post_to_server |
( |
|
self, |
|
|
|
data, |
|
|
|
auth = None |
|
) |
| |
Post a query to the server, and return a string response.
◆ run()
◆ send_metadata()
def send_metadata |
( |
|
self | ) |
|
Send the metadata to the package index server.
Well, do the following:
1. figure who the user is, and then
2. send the data as a Basic auth'ed POST.
First we try to read the username/password from $HOME/.pypirc,
which is a ConfigParser-formatted file with a section
[distutils] containing username and password entries (both
in clear text). Eg:
[distutils]
index-servers =
pypi
[pypi]
username: fred
password: sekrit
Otherwise, to figure who the user is, we offer the user three
choices:
1. use existing login,
2. register as a new user, or
3. set the password to a random string and email the user.
◆ verify_metadata()
def verify_metadata |
( |
|
self | ) |
|
Send the metadata to the package index server to be checked.
◆ boolean_options
◆ description
◆ has_config
◆ list_classifiers
◆ password
◆ realm
◆ repository
◆ strict
◆ sub_commands
◆ user_options
◆ username
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/setuptools/_distutils/command/register.py