예제 #1
0
"""
Skeleton to create a project with sphinx support.
"""

from __future__ import with_statement

import logging
import os

from skeleton import Skeleton, Var
from skeleton.examples.basicpackage import BasicPackage
from skeleton.utils import get_loggger

_LOG = get_loggger(__name__)


class SphinxPackage(Skeleton):
    """Create a new package package with sphinx setup.
    includes features from basicpackage:
    Create a new package package (with namespace support) with the setup.py,
    README.rst and MANIFEST.in files already setup.

    Require the following variables:

    - project_name;
    - package_name;
    - author;
    - author_email;
    - license;
    - and short_description.
예제 #2
0
"""
Skeleton to create a basic package and the virtualenwrapper.project extension
to add it a template.
"""

from __future__ import with_statement

import logging
import os

from skeleton import Skeleton, Var
from skeleton.utils import get_loggger, insert_into_file
from skeleton.examples.licenses import LicenseChoice

logger = get_loggger(__name__)

NS_HEADER = """
__import__('pkg_resources').declare_namespace(__name__)
"""


class BasicPackage(Skeleton):
    """Create a new package package (with namespace support) with the setup.py,
    README.rst and MANIFEST.in files already setup.

    Require the following variables:

    - project_name;
    - package_name;
    - author;
    - and author_email.
예제 #3
0
"""
Skeleton to create a basic package and the virtualenwrapper.project extension
to add it a template.
"""

from __future__ import with_statement

import logging
import os

from skeleton import Skeleton, Var
from skeleton.utils import get_loggger, insert_into_file
from skeleton.examples.licenses import LicenseChoice


_LOG = get_loggger(__name__)

NS_HEADER = """
__import__('pkg_resources').declare_namespace(__name__)
"""


class BasicPackage(Skeleton):
    """Create a new package package (with namespace support) with the setup.py,
    README.rst and MANIFEST.in files already setup.

    Require the following variables:

    - project_name;
    - package_name;
    - author;
예제 #4
0
"""
Skeleton to create a basic package and the virtualenwrapper.project extension
to add it a template.
"""

from __future__ import with_statement

import logging
import os

from skeleton import Skeleton, Var
from skeleton.utils import get_loggger, insert_into_file
from skeleton.examples.licenses import LicenseChoice


logger = get_loggger(__name__)

NS_HEADER = """
__import__('pkg_resources').declare_namespace(__name__)
"""


class BasicPackage(Skeleton):
    """Create a new package package (with namespace support) with the setup.py,
    README.rst and MANIFEST.in files already setup.

    Require the following variables:

    - project_name;
    - package_name;
    - author;