Beispiel #1
0
import papyon


# Metadata
NAME = "papyon"
VERSION = papyon.__version__
DESCRIPTION = "Python msn client library"
AUTHOR = "Youness Alaoui"
AUTHOR_EMAIL = "*****@*****.**"
URL = papyon.__url__
LICENSE = papyon.__license__

# Documentation
doc_commands = {
    'doc_user_api': make_doc_command(
        name='user_api',
        description='the papyon user API documentation',
        config='doc/user-api.conf'),
    'doc': BuildAllDocCommand
}
for name in doc_commands.keys():
    if name != 'doc':
        BuildAllDocCommand.sub_commands.append((name, None))

# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
def path_split(path, result=None):
    """
    Split a pathname into components (the opposite of os.path.join) in a
    platform-neutral way.
    """
    if result is None:
Beispiel #2
0
import papyon

# Metadata
NAME = "papyon"
VERSION = papyon.__version__
DESCRIPTION = "Python msn client library"
AUTHOR = "Youness Alaoui"
AUTHOR_EMAIL = "*****@*****.**"
URL = papyon.__url__
LICENSE = papyon.__license__

# Documentation
doc_commands = {
    'doc_user_api':
    make_doc_command(name='user_api',
                     description='the papyon user API documentation',
                     config='doc/user-api.conf'),
    'doc':
    BuildAllDocCommand
}
for name in doc_commands.keys():
    if name != 'doc':
        BuildAllDocCommand.sub_commands.append((name, None))


# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
def path_split(path, result=None):
    """
    Split a pathname into components (the opposite of os.path.join) in a
    platform-neutral way.
Beispiel #3
0
LICENSE = ("GNU GPL",)


# compatibility with python < 2.2.3
if version < "2.2.3":
    from distutils.dist import DistributionMetadata

    DistributionMetadata.classifiers = None
    DistributionMetadata.download_url = None

# Documentation
doc_commands = {
    "build_doc": make_doc_command(
        name="pymsn",
        description="Python msn client library",
        url=URL,
        output="pymsn",
        post="doc/fix_encoding.sh doc/pymsn/*.html",
        packages="pymsn",
    )
}

# Setup
setup(
    name=NAME,
    version=VERSION,
    description=DESCRIPTION,
    author=AUTHOR,
    author_email=AUTHOR_EMAIL,
    url=URL,
    license=LICENSE,
    platforms=["any"],
Beispiel #4
0
URL="http://telepathy.freedesktop.org/wiki/Pymsn",
LICENSE="GNU GPL",


# compatibility with python < 2.2.3
if version < '2.2.3':
    from distutils.dist import DistributionMetadata
    DistributionMetadata.classifiers = None
    DistributionMetadata.download_url = None

# Documentation
doc_commands = {
    'build_doc_pymsn': make_doc_command(
         name='pymsn',
         description='Python msn client library',
         url=URL,
         output='pymsn',
         post='doc/fix_encoding.sh doc/pymsn/*.html',
         packages='pymsn'),
    'build_doc': BuildAllDocCommand
}
for name in doc_commands.keys():
    if name != 'build_doc':
        BuildAllDocCommand.sub_commands.append((name, None))

# Setup
setup(name=NAME,
      version=VERSION,
      description=DESCRIPTION,
      author=AUTHOR,
      author_email=AUTHOR_EMAIL,