Esempio n. 1
0
def entry_point():
    """
    setuptools entry point that calls the real main with arguments.
    """
    main(sys.argv[1:])  # pragma: nocover
Esempio n. 2
0
def entry_point():
    """
    setuptools entry point that calls the real main with arguments.
    """
    main(sys.argv[1:])  # pragma: nocover
Esempio n. 3
0
        os.path.join(dest, 'Contents/Info.plist')
    )

    shutil.copytree(args.source, docs)
    return docs, db_conn


def add_icon(icon, dest):
    """
    Add icon to docset
    """
    shutil.copy2(icon, os.path.join(dest, 'icon.png'))


if __name__ == '__main__':
    main(sys.argv[1:])  # pragma: nocover

########NEW FILE########
__FILENAME__ = test_pydoctor
import os

from bs4 import BeautifulSoup
from mock import patch, mock_open

from doc2dash.parsers import types
from doc2dash.parsers.base import Entry
from doc2dash.parsers.pydoctor import PyDoctorParser, _guess_type


HERE = os.path.dirname(__file__)
Esempio n. 4
0
    plistlib.writePlist(plist_cfg, os.path.join(dest, 'Contents/Info.plist'))

    shutil.copytree(args.source, docs)
    return docs, db_conn


def add_icon(icon, dest):
    """
    Add icon to docset
    """
    shutil.copy2(icon, os.path.join(dest, 'icon.png'))


if __name__ == '__main__':
    main(sys.argv[1:])  # pragma: nocover

########NEW FILE########
__FILENAME__ = test_pydoctor
import os

from bs4 import BeautifulSoup
from mock import patch, mock_open

from doc2dash.parsers import types
from doc2dash.parsers.base import Entry
from doc2dash.parsers.pydoctor import PyDoctorParser, _guess_type

HERE = os.path.dirname(__file__)