Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(1)  |  Derive(1)  |  Import(6)
Base command that knows how to handle the .pypirc file
    

src/i/n/infi.pypi_manager-0.4.23/src/infi/pypi_manager/mirror/mirror_all.py   infi.pypi_manager(Download)
def get_repository_config(server_name):
    # we get a pypi repository alias but we need the url+username+password from pypirc
    # distutils does the translation, but we have to fool it a little
    from distutils.config import PyPIRCCommand
    from distutils.dist import Distribution
    pypirc = PyPIRCCommand(Distribution())

src/p/k/pkglib-HEAD/pkglib/pkglib/setuptools/command/pypirc.py   pkglib(Download)
from pkglib_util.six.moves import configparser, input  # @UnresolvedImport
 
from distutils.config import PyPIRCCommand as _PyPIRCCommand
from distutils import log
 
from pkglib import CONFIG
from pkglib.pypi import xmlrpc
 
 
class PyPIRCCommand(_PyPIRCCommand):

src/d/j/django-geo-0.7/setup.py   django-geo(Download)
#!/usr/bin/env python
import os
import codecs
from distutils.config import PyPIRCCommand
from setuptools import setup, find_packages

src/w/h/whatsnew-0.3/setup.py   whatsnew(Download)
#!/usr/bin/env python
import os
import codecs
from distutils.config import PyPIRCCommand
from setuptools import setup, find_packages

src/p/y/pypissh-1.4/pypissh.py   pypissh(Download)
def monkeypatch():
    import pypissh # ourselves
    from distutils.command import register, upload
    try:
        from distutils.config import PyPIRCCommand

src/d/j/django-geo-HEAD/setup.py   django-geo(Download)
#!/usr/bin/env python
import os
import codecs
from distutils.config import PyPIRCCommand
from setuptools import setup, find_packages