| Server IP : 178.105.222.151 / Your IP : 216.73.216.38 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/setuptools/tests/__pycache__/ |
Upload File : |
+
�h] � � � R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt ! R R]P P 4 t ! R R]P P 4 t
! R R]P P ]P 4 tR R ltR# )
z>Basic http server for tests to simulate PyPI or custom indexesNc �l a � ] tR t^t o RtR]P P 3R ltR t R t
R tRtV t
R# ) �IndexServera9 Basic single-threaded http server simulating a package index
You can use this server in unittest like this::
s = IndexServer()
s.start()
index_url = s.base_url() + 'mytestindex'
# do some test requests to the index
# The index files should be located in setuptools/tests/indexes
s.stop()
c �h � \ P P P WV4 R V n R# �TN)�http�server�
HTTPServer�__init__�_run��self�server_address�RequestHandlerClasss &&&�9/usr/lib/python3/dist-packages/setuptools/tests/server.pyr �IndexServer.__init__ s&