I have setup a pypiserver behind an nginx proxy which uses htpasswd for authentication. I am currently able to upload sdists, but I can't figure out how to download them. I want to be able to download them when running setup.py test
and somehow by using pip
. Is this possible?
[distutils]
index-servers =private[private]
repository = https://example.com/pypi
username = remco
password = mypass
To make it extra hard the server is currently using a non verified ssl connection.
I tried the following setup based on http://pythonhosted.org/setuptools/setuptools.html#setuptools-package-index, but the only documentation on this is 'XXX'
#!/usr/bin/env python2.7from setuptools import setupsetup(name='asd',version='0.0.1',package_index='https://example.com/pypi/simple',test_suite='test',tests_require=['foo==0.0.1'])